20260328_031000.470 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.470 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) 20260328_031000.470 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) 20260328_031000.470 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.474 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.474 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.474 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.474 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.475 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260328_031000.475 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260328_031000.475 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.480 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.481 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.481 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.482 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNDgxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMWVkOGEyNDEtMmQ1NS00YjIzLTlmNTEtNTkwOTgwMzNlNDc4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.482 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.481Z", "policies_count": 4, "update_id": "1ed8a241-2d55-4b23-9f51-59098033e478"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.482 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.481Z", "policies_count": 4, "update_id": "1ed8a241-2d55-4b23-9f51-59098033e478"}} 20260328_031000.483 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.483 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}] 20260328_031000.483 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_031000.483 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.481Z", "policies_count": 4, "update_id": "1ed8a241-2d55-4b23-9f51-59098033e478"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.484 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_031000.484 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}} 20260328_031000.484 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40ODRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIyNDdkNTU4Yy01YzRiLTQ4YWYtYTFjZS02MDNiNTMxY2RmZGEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260328_031000.485 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.485 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-03-28T03:10:00.484Z", "policies_count": 4, "update_id": "247d558c-5c4b-48af-a1ce-603b531cdfda"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.485 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260328_031000.486 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false} 20260328_031000.486 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.486 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.486 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.486 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.486 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.486 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.503 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.504 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.504 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.505 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNTA0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzJjZjM2ZTYtNjFjYy00MjdhLWI2NTQtYTFlNDYxNDk2MmVlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.505 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.504Z", "policies_count": 4, "update_id": "32cf36e6-61cc-427a-b654-a1e4614962ee"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.505 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.504Z", "policies_count": 4, "update_id": "32cf36e6-61cc-427a-b654-a1e4614962ee"}} 20260328_031000.506 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.506 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.504Z", "policies_count": 4, "update_id": "32cf36e6-61cc-427a-b654-a1e4614962ee"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.506 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"] 20260328_031000.507 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_031000.507 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC41MDdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJkYjRlYmRhZC1jODhiLTRhOWItODY3OS1kZWYzYTc3NjBjYzQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260328_031000.507 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.508 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.507Z", "policies_count": 0, "update_id": "db4ebdad-c88b-4a9b-8679-def3a7760cc4"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.508 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.507Z", "policies_count": 0, "update_id": "db4ebdad-c88b-4a9b-8679-def3a7760cc4"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.508 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"] 20260328_031000.509 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_031000.509 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.507Z", "policies_count": 0, "update_id": "db4ebdad-c88b-4a9b-8679-def3a7760cc4"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.509 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260328_031000.509 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.507Z", "policies_count": 0, "update_id": "db4ebdad-c88b-4a9b-8679-def3a7760cc4"}} 20260328_031000.509 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.510 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.527 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.528 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260328_031000.528 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.528 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260328_031000.528 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.533 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.534 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.534 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.535 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNTM0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMmI1NGI5MWMtYTNmMi00NWJmLWFmZDAtM2I1YjFjNjk0ZDdhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.535 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.534Z", "policies_count": 4, "update_id": "2b54b91c-a3f2-45bf-afd0-3b5b1c694d7a"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.535 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.534Z", "policies_count": 4, "update_id": "2b54b91c-a3f2-45bf-afd0-3b5b1c694d7a"}} 20260328_031000.535 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.536 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.534Z", "policies_count": 4, "update_id": "2b54b91c-a3f2-45bf-afd0-3b5b1c694d7a"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.536 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"] 20260328_031000.537 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_031000.537 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC41MzdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI3MWMzYThmOS1jMzlkLTQ4YTEtYjVkYS01YzMzYzNlMGEyZmEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260328_031000.537 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.538 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.537Z", "policies_count": 0, "update_id": "71c3a8f9-c39d-48a1-b5da-5c33c3e0a2fa"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.538 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}] 20260328_031000.538 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_031000.538 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.537Z", "policies_count": 0, "update_id": "71c3a8f9-c39d-48a1-b5da-5c33c3e0a2fa"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.539 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_031000.539 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}} 20260328_031000.539 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC41MzlaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJmZDY1NzE1Zi0wNDRmLTRmNTgtYmI0MC1jMGVhMGZmZWJiNmMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260328_031000.540 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.540 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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-03-28T03:10:00.539Z", "policies_count": 2, "update_id": "fd65715f-044f-4f58-bb40-c0ea0ffebb6c"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.540 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260328_031000.540 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false} 20260328_031000.541 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.541 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.561 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.562 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.562 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.563 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNTYyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMWY2NzZlMzQtZmU4YS00ZDM1LWJjOGMtNzAwMzQ3NjRmZTZmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.563 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.562Z", "policies_count": 4, "update_id": "1f676e34-fe8a-4d35-bc8c-70034764fe6f"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.563 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.562Z", "policies_count": 4, "update_id": "1f676e34-fe8a-4d35-bc8c-70034764fe6f"}} 20260328_031000.563 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.564 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.562Z", "policies_count": 4, "update_id": "1f676e34-fe8a-4d35-bc8c-70034764fe6f"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.564 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/"}}] 20260328_031000.564 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.564 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.565 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.562Z", "policies_count": 4, "update_id": "1f676e34-fe8a-4d35-bc8c-70034764fe6f"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.565 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.580 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_031000.580 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.580 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/"}}] 20260328_031000.580 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.581 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.581 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies_event": {}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.581 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.588 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 20260328_031000.588 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.592 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.593 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.593 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.593 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNTkzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjNmZTc2ZDItNmI5Zi00ZDRlLWJhNzUtZTE2ZDNjMjM4OWY4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.594 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.593Z", "policies_count": 4, "update_id": "63fe76d2-6b9f-4d4e-ba75-e16d3c2389f8"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.594 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.593Z", "policies_count": 4, "update_id": "63fe76d2-6b9f-4d4e-ba75-e16d3c2389f8"}} 20260328_031000.594 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.594 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}] 20260328_031000.595 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_031000.595 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.593Z", "policies_count": 4, "update_id": "63fe76d2-6b9f-4d4e-ba75-e16d3c2389f8"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.595 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_031000.595 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}} 20260328_031000.596 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC41OTZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJmZDZiYzlmZi1jMjIyLTQwMGYtYjYyOC03Zjc5ZGNhNmVlY2EifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260328_031000.596 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.597 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-03-28T03:10:00.596Z", "policies_count": 4, "update_id": "fd6bc9ff-c222-400f-b628-7f79dca6eeca"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.597 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260328_031000.597 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false} 20260328_031000.597 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.597 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.598 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.598 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.598 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.598 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.613 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.613 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.614 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.614 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.614 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260328_031000.614 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260328_031000.614 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.619 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260328_031000.619 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.620 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.620 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.620 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.620 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.628 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.629 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.629 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.630 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNjI5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDVmZTQ1ZmMtYmI0YS00NzI2LWJkN2ItZGNkZjFkMmUxMGQxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.630 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.629Z", "policies_count": 4, "update_id": "45fe45fc-bb4a-4726-bd7b-dcdf1d2e10d1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.630 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.629Z", "policies_count": 4, "update_id": "45fe45fc-bb4a-4726-bd7b-dcdf1d2e10d1"}} 20260328_031000.631 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.631 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.631 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}] 20260328_031000.632 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.629Z", "policies_count": 4, "update_id": "45fe45fc-bb4a-4726-bd7b-dcdf1d2e10d1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.632 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20260328_031000.632 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}} 20260328_031000.632 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}], "duplicate": []} 20260328_031000.633 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.629Z", "policies_count": 4, "update_id": "45fe45fc-bb4a-4726-bd7b-dcdf1d2e10d1"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.633 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.629Z", "policies_count": 4, "update_id": "45fe45fc-bb4a-4726-bd7b-dcdf1d2e10d1"}} 20260328_031000.633 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.633 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.634 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.650 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.651 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.651 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.652 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNjUyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzIwOWU4MjMtYTY0ZC00ZGYzLTk3MjItMDliZmFjNmM1ZDVmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.652 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.652Z", "policies_count": 4, "update_id": "7209e823-a64d-4df3-9722-09bfac6c5d5f"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.652 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.652Z", "policies_count": 4, "update_id": "7209e823-a64d-4df3-9722-09bfac6c5d5f"}} 20260328_031000.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.653 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}] 20260328_031000.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_031000.653 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.652Z", "policies_count": 4, "update_id": "7209e823-a64d-4df3-9722-09bfac6c5d5f"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.654 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_031000.654 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}} 20260328_031000.654 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC42NTRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIzYjdmMGQ4MC1iOWQzLTRkNjUtYTRhNC1iOWY3N2VmZWMwYWQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04ifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260328_031000.655 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.655 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-03-28T03:10:00.654Z", "policies_count": 4, "update_id": "3b7f0d80-b9d3-4d65-a4a4-b9f77efec0ad"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260328_031000.656 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false} 20260328_031000.656 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.656 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.656 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.656 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.657 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.672 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.673 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.673 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.673 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNjczWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDg0NWExOWMtNzE2NC00NzZlLTlkNjUtOGZmZmYyNmQ2YzE4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.674 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.673Z", "policies_count": 4, "update_id": "d845a19c-7164-476e-9d65-8ffff26d6c18"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.674 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.673Z", "policies_count": 4, "update_id": "d845a19c-7164-476e-9d65-8ffff26d6c18"}} 20260328_031000.674 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.675 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.673Z", "policies_count": 4, "update_id": "d845a19c-7164-476e-9d65-8ffff26d6c18"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.675 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"] 20260328_031000.675 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_031000.676 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC42NzZaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJlZWI5N2YyMi1hMzhkLTQxODgtYTljZS0zNTY1Njk0NWUwYzQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260328_031000.676 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.677 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.676Z", "policies_count": 0, "update_id": "eeb97f22-a38d-4188-a9ce-35656945e0c4"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.677 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260328_031000.677 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.676Z", "policies_count": 0, "update_id": "eeb97f22-a38d-4188-a9ce-35656945e0c4"}} 20260328_031000.677 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.677 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.693 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.694 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.694 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.694 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNjk0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTkzOThlMWEtZmJjNS00ZTdhLWEzNDUtZTJkNjJiYjlhMWZhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.694 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.694Z", "policies_count": 4, "update_id": "59398e1a-fbc5-4e7a-a345-e2d62bb9a1fa"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.695 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.694Z", "policies_count": 4, "update_id": "59398e1a-fbc5-4e7a-a345-e2d62bb9a1fa"}} 20260328_031000.695 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.695 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}] 20260328_031000.695 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_031000.696 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.694Z", "policies_count": 4, "update_id": "59398e1a-fbc5-4e7a-a345-e2d62bb9a1fa"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.696 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_031000.696 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}} 20260328_031000.697 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC42OTZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJlYTgxZjdiMS0xNGU4LTQ1M2ItYjQzNS00MDhhYjU5YzEyY2QifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260328_031000.697 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.697 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-03-28T03:10:00.696Z", "policies_count": 4, "update_id": "ea81f7b1-14e8-453b-b435-408ab59c12cd"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.698 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260328_031000.698 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false} 20260328_031000.698 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.698 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.698 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.699 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.699 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.699 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.714 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_031000.714 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.715 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/"}}] 20260328_031000.715 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.715 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.715 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies_event": {}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.716 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.723 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "name": "non_policies_node_name", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.723 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) 20260328_031000.723 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) 20260328_031000.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.728 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.729 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.730 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.730 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNzMwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzY5M2I1NTYtNDU5MC00NWM2LTg3NjctZTBiZmUwZWY0OGE5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.730 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.730Z", "policies_count": 4, "update_id": "c693b556-4590-45c6-8767-e0bfe0ef48a9"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.731 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.730Z", "policies_count": 4, "update_id": "c693b556-4590-45c6-8767-e0bfe0ef48a9"}} 20260328_031000.731 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.731 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.730Z", "policies_count": 4, "update_id": "c693b556-4590-45c6-8767-e0bfe0ef48a9"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.731 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/"}}] 20260328_031000.732 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.732 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.732 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.730Z", "policies_count": 4, "update_id": "c693b556-4590-45c6-8767-e0bfe0ef48a9"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.732 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.747 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.748 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.748 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNzQ5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjc5ZmY4YmEtMTRkZS00MjkzLWIyNGQtOGI4Y2M5NTc3YzhkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.749 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.749Z", "policies_count": 4, "update_id": "279ff8ba-14de-4293-b24d-8b8cc9577c8d"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.750 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.749Z", "policies_count": 4, "update_id": "279ff8ba-14de-4293-b24d-8b8cc9577c8d"}} 20260328_031000.750 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.750 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.750 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.750 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.750 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.751 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.751 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260328_031000.751 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false} 20260328_031000.751 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20260328_031000.751 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.760 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 20260328_031000.760 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.764 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.765 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.765 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.766 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuNzY1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNWViOGQzZjctN2RiNC00YTkwLTgwNDctZGQyM2VjMDRiNjdhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.766 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.765Z", "policies_count": 4, "update_id": "5eb8d3f7-7db4-4a90-8047-dd23ec04b67a"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.766 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.765Z", "policies_count": 4, "update_id": "5eb8d3f7-7db4-4a90-8047-dd23ec04b67a"}} 20260328_031000.767 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.767 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.776 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_031000.777 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.777 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/"}}] 20260328_031000.777 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.777 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.778 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies_event": {}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.778 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.786 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260328_031000.786 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.786 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260328_031000.786 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.786 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.787 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies_event": {}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.787 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.795 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260328_031000.795 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.796 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/"}}] 20260328_031000.796 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.796 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.796 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "policies_event": {}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.796 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260328_031000.804 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.805 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260328_031000.806 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.806 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjhUMDM6MTA6MDAuODA2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiM2RkZWRiYzMtZWMyZi00M2NiLTg5NjMtOGQ0NjMwYmVhMjI3In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTI4VDA2OjEwOjAwLjQ0N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yOFQwNDoxMDowMC40NDdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260328_031000.806 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.806Z", "policies_count": 4, "update_id": "3ddedbc3-ec2f-43cb-8963-8d4630bea227"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.807 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.806Z", "policies_count": 4, "update_id": "3ddedbc3-ec2f-43cb-8963-8d4630bea227"}} 20260328_031000.807 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260328_031000.807 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-03-28T03:10:00.806Z", "policies_count": 4, "update_id": "3ddedbc3-ec2f-43cb-8963-8d4630bea227"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.807 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"] 20260328_031000.808 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260328_031000.808 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC44MDhaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJjMjFjMjlhYy0zNjE2LTQxYTMtOGJlMy02NDczZGRjNWNjZmUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260328_031000.809 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.809 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.808Z", "policies_count": 0, "update_id": "c21c29ac-3616-41a3-8be3-6473ddc5ccfe"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.809 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}} 20260328_031000.809 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true}] 20260328_031000.809 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260328_031000.810 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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-03-28T03:10:00.808Z", "policies_count": 0, "update_id": "c21c29ac-3616-41a3-8be3-6473ddc5ccfe"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.810 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260328_031000.810 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false}} 20260328_031000.811 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yOFQwMzoxMDowMC44MTFaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIzOTFmZWQ4MS1iMjU4LTQ3ODgtOTUyOC1hNDM0ZjRjNmQ2ZGYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjhUMDQ6MTA6MDAuNDQ3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260328_031000.811 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260328_031000.812 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "name": "test_ms_name", "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}, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "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": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "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": {"properties": {}, "name": "bad_policy_4_node_name", "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": {"properties": {}, "name": "weird_policy_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T05:10:00.447Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "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": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "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": {"properties": {}, "name": "non_policies_node_name", "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": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T06:10:00.447Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-28T07:10:00.447Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-03-28T03:10:00.447Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "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-03-28T03:10:00.811Z", "policies_count": 2, "update_id": "391fed81-b258-4788-9528-a434f4c6d6df"}}}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id"} 20260328_031000.812 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260328_031000.812 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": false} 20260328_031000.812 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"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-28T04:10:00.447Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON"}, "policy_persistent": true} 20260328_031000.812 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear