20260314_031008.428 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 20260314_031008.429 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.432 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.432 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260314_031008.432 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.433 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260314_031008.433 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.437 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260314_031008.438 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.438 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.438 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.439 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.439 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.447 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.448 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.449 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.449 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNDQ5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjFhMGYxOGEtZjlkNS00M2YxLWFlYzYtZDlkYWFiZGM3MmNiIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.450 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.449Z", "policies_count": 4, "update_id": "21a0f18a-f9d5-43f1-aec6-d9daabdc72cb"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.450 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.449Z", "policies_count": 4, "update_id": "21a0f18a-f9d5-43f1-aec6-d9daabdc72cb"}} 20260314_031008.450 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.450 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.450 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.451 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.451 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.451 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.451 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.451 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260314_031008.451 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false} 20260314_031008.452 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.462 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.462 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.463 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.463 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.463 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260314_031008.463 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260314_031008.463 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.468 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.468 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.468 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.469 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.469 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260314_031008.469 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260314_031008.469 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.473 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 20260314_031008.473 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.478 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260314_031008.479 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.479 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260314_031008.479 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.479 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.480 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.480 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.488 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.489 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.489 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.490 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNDg5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2ZlNDNmNGYtZGQyMC00MGJhLWE1NDktMjJkMzMxYjU0NjI3In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.490 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.489Z", "policies_count": 4, "update_id": "cfe43f4f-dd20-40ba-a549-22d331b54627"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.491 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.489Z", "policies_count": 4, "update_id": "cfe43f4f-dd20-40ba-a549-22d331b54627"}} 20260314_031008.491 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.491 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.489Z", "policies_count": 4, "update_id": "cfe43f4f-dd20-40ba-a549-22d331b54627"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.491 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"] 20260314_031008.492 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260314_031008.492 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC40OTJaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIzYjhiNzgxYy02YzY3LTQ0NTItYWRjZi00YjBlMjIzYzBhMmYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260314_031008.493 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.493 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.492Z", "policies_count": 0, "update_id": "3b8b781c-6c67-4452-adcf-4b0e223c0a2f"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.494 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.492Z", "policies_count": 0, "update_id": "3b8b781c-6c67-4452-adcf-4b0e223c0a2f"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.494 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"] 20260314_031008.494 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260314_031008.494 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.492Z", "policies_count": 0, "update_id": "3b8b781c-6c67-4452-adcf-4b0e223c0a2f"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.495 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260314_031008.495 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.492Z", "policies_count": 0, "update_id": "3b8b781c-6c67-4452-adcf-4b0e223c0a2f"}} 20260314_031008.495 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.495 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.517 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.518 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.519 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.519 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNTE5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMmFjZTRkZjUtOGVkOS00Yzc1LWI5ZTEtZTY1YTkzZWUxZWY4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.519 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.519Z", "policies_count": 4, "update_id": "2ace4df5-8ed9-4c75-b9e1-e65a93ee1ef8"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.520 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.519Z", "policies_count": 4, "update_id": "2ace4df5-8ed9-4c75-b9e1-e65a93ee1ef8"}} 20260314_031008.520 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.520 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.519Z", "policies_count": 4, "update_id": "2ace4df5-8ed9-4c75-b9e1-e65a93ee1ef8"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.521 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"] 20260314_031008.521 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260314_031008.521 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC41MjFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIxZmRhMmU0Ni1lMWY5LTQzNDEtYWU2Mi05ZTU0MjdkYzdiYjAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260314_031008.522 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.522 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.521Z", "policies_count": 0, "update_id": "1fda2e46-e1f9-4341-ae62-9e5427dc7bb0"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.522 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260314_031008.522 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.521Z", "policies_count": 0, "update_id": "1fda2e46-e1f9-4341-ae62-9e5427dc7bb0"}} 20260314_031008.523 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.523 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.537 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.538 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) 20260314_031008.538 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) 20260314_031008.538 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.542 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260314_031008.543 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.543 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/"}}] 20260314_031008.543 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.543 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.544 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.544 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.551 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260314_031008.552 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.552 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/"}}] 20260314_031008.552 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.552 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.553 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.553 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.560 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.562 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.562 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.562 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNTYyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWYzMWUwYTYtMjBjNy00Nzg3LWE5YTMtNzFkMTFjYzBhNWJlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.563 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.562Z", "policies_count": 4, "update_id": "9f31e0a6-20c7-4787-a9a3-71d11cc0a5be"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.563 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.562Z", "policies_count": 4, "update_id": "9f31e0a6-20c7-4787-a9a3-71d11cc0a5be"}} 20260314_031008.563 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.563 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260314_031008.563 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260314_031008.564 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.562Z", "policies_count": 4, "update_id": "9f31e0a6-20c7-4787-a9a3-71d11cc0a5be"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.564 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260314_031008.564 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260314_031008.565 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC41NjRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxOTRmNjc1Ny05YmY5LTRkOTgtOTE2Zi04MzZjOWQzOWFhZWEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260314_031008.565 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.566 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.564Z", "policies_count": 4, "update_id": "194f6757-9bf9-4d98-916f-836c9d39aaea"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.566 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260314_031008.566 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260314_031008.566 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.566 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.566 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.567 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.567 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.567 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.583 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260314_031008.583 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.583 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/"}}] 20260314_031008.583 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.584 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.584 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.584 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.592 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260314_031008.592 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.592 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/"}}] 20260314_031008.592 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.593 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.593 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "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": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.593 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.601 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.602 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.602 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.602 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNjAyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2MzYTExOGUtMWI4OS00ZGQxLTgzNzYtMWVhYjE4ZDgxMTgyIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.603 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.602Z", "policies_count": 4, "update_id": "7c3a118e-1b89-4dd1-8376-1eab18d81182"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.603 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.602Z", "policies_count": 4, "update_id": "7c3a118e-1b89-4dd1-8376-1eab18d81182"}} 20260314_031008.603 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.604 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260314_031008.604 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260314_031008.604 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.602Z", "policies_count": 4, "update_id": "7c3a118e-1b89-4dd1-8376-1eab18d81182"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.604 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260314_031008.605 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260314_031008.605 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC42MDVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIzMThkNDZiYS1jYzFlLTQ4MTYtODI5Yy1hY2Y2Nzk3OTI5NmUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260314_031008.606 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.606 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.605Z", "policies_count": 4, "update_id": "318d46ba-cc1e-4816-829c-acf67979296e"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.606 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260314_031008.606 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260314_031008.606 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.607 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.607 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.607 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.607 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.607 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.623 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.628 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.630 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNjMwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDU4ZDZlMGEtZjZkZi00MzBjLWE3NDMtYjY1YWZhZmRkYmY2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.631 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.630Z", "policies_count": 4, "update_id": "d58d6e0a-f6df-430c-a743-b65afafddbf6"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.631 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.630Z", "policies_count": 4, "update_id": "d58d6e0a-f6df-430c-a743-b65afafddbf6"}} 20260314_031008.631 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.632 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.630Z", "policies_count": 4, "update_id": "d58d6e0a-f6df-430c-a743-b65afafddbf6"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.632 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/"}}] 20260314_031008.632 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.632 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.633 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.630Z", "policies_count": 4, "update_id": "d58d6e0a-f6df-430c-a743-b65afafddbf6"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.633 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.648 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.651 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.652 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.652 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNjUyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2UxOTFkODAtMDFlNS00YzJjLThiMjktZDVkNGIzMTU1MjM4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.653 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.652Z", "policies_count": 4, "update_id": "7e191d80-01e5-4c2c-8b29-d5d4b3155238"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.653 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.652Z", "policies_count": 4, "update_id": "7e191d80-01e5-4c2c-8b29-d5d4b3155238"}} 20260314_031008.653 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.653 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.652Z", "policies_count": 4, "update_id": "7e191d80-01e5-4c2c-8b29-d5d4b3155238"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.654 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/"}}] 20260314_031008.654 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.654 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.654 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.652Z", "policies_count": 4, "update_id": "7e191d80-01e5-4c2c-8b29-d5d4b3155238"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.655 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.669 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.670 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.671 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.671 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNjcxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMGE4ZTEzNTUtNDRkNS00NmZmLThiMjItYzYzODhjM2I5ZWIyIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.671 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.671Z", "policies_count": 4, "update_id": "0a8e1355-44d5-46ff-8b22-c6388c3b9eb2"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.672 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.671Z", "policies_count": 4, "update_id": "0a8e1355-44d5-46ff-8b22-c6388c3b9eb2"}} 20260314_031008.672 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.672 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260314_031008.672 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260314_031008.673 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.671Z", "policies_count": 4, "update_id": "0a8e1355-44d5-46ff-8b22-c6388c3b9eb2"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.673 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260314_031008.673 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260314_031008.674 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC42NzNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIyNjYzOTBiNS1hMWVhLTQwMmItOTkwOS1hZjQxNTY2MDQ1OTgifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260314_031008.674 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.674 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.673Z", "policies_count": 4, "update_id": "266390b5-a1ea-402b-9909-af4156604598"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.675 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260314_031008.675 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260314_031008.675 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.675 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.675 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.676 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.676 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.676 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.692 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.693 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.693 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNjkzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzhhNjBiNTktZWViMi00YTc5LWE0MzctOGRjZDY2ZWE5MGY4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.694 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.693Z", "policies_count": 4, "update_id": "78a60b59-eeb2-4a79-a437-8dcd66ea90f8"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.694 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.693Z", "policies_count": 4, "update_id": "78a60b59-eeb2-4a79-a437-8dcd66ea90f8"}} 20260314_031008.695 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.695 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.706 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.707 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.707 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.707 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNzA3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDM2NmJjODYtNzNkNS00NTRkLTk1ZDktYWI5NGU2MjIxMTM1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.708 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.707Z", "policies_count": 4, "update_id": "0366bc86-73d5-454d-95d9-ab94e6221135"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.708 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.707Z", "policies_count": 4, "update_id": "0366bc86-73d5-454d-95d9-ab94e6221135"}} 20260314_031008.708 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.709 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.709 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}] 20260314_031008.709 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.707Z", "policies_count": 4, "update_id": "0366bc86-73d5-454d-95d9-ab94e6221135"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.710 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}, removed_policies: ["<<>>"] 20260314_031008.710 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}} 20260314_031008.710 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}]} 20260314_031008.711 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.707Z", "policies_count": 4, "update_id": "0366bc86-73d5-454d-95d9-ab94e6221135"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.711 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.707Z", "policies_count": 4, "update_id": "0366bc86-73d5-454d-95d9-ab94e6221135"}} 20260314_031008.711 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.711 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.711 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.728 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.729 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.729 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.729 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNzI5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDE4MjMwOWQtNDA2ZC00ZjJlLTgxODMtMGM0ODlmODg4NWNhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.730 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.729Z", "policies_count": 4, "update_id": "d182309d-406d-4f2e-8183-0c489f8885ca"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.730 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.729Z", "policies_count": 4, "update_id": "d182309d-406d-4f2e-8183-0c489f8885ca"}} 20260314_031008.730 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.731 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.729Z", "policies_count": 4, "update_id": "d182309d-406d-4f2e-8183-0c489f8885ca"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.731 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"] 20260314_031008.732 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260314_031008.732 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC43MzJaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2NThkMmQxMi1lNzdlLTQxMGUtOTgyMy0yYWM0MzQ1ZjBjMTYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260314_031008.732 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.733 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.732Z", "policies_count": 0, "update_id": "658d2d12-e77e-410e-9823-2ac4345f0c16"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.733 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}} 20260314_031008.733 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260314_031008.733 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260314_031008.734 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.732Z", "policies_count": 0, "update_id": "658d2d12-e77e-410e-9823-2ac4345f0c16"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.734 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260314_031008.734 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260314_031008.734 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC43MzRaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJiZmViM2IzOC02MDc0LTQ1OTktOGZlMS1lM2IzZmJlODEyMmQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260314_031008.735 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.735 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "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": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.734Z", "policies_count": 2, "update_id": "bfeb3b38-6074-4599-8fe1-e3b3fbe8122d"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.735 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260314_031008.735 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260314_031008.736 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.736 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.756 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.757 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.758 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.758 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNzU4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTBmMzlhNjctMzgwZi00ZTRhLWExMTktZGY1YmYwY2IxMGQ2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.758 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.758Z", "policies_count": 4, "update_id": "a0f39a67-380f-4e4a-a119-df5bf0cb10d6"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.759 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.758Z", "policies_count": 4, "update_id": "a0f39a67-380f-4e4a-a119-df5bf0cb10d6"}} 20260314_031008.759 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.759 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260314_031008.759 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260314_031008.760 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.758Z", "policies_count": 4, "update_id": "a0f39a67-380f-4e4a-a119-df5bf0cb10d6"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.760 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260314_031008.760 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260314_031008.761 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC43NjBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIyY2JjZjkyMi0yYmI4LTQwZjYtYmJmNS05NDAxYWUzYTg4OTkifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260314_031008.761 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.762 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.760Z", "policies_count": 4, "update_id": "2cbcf922-2bb8-40f6-bbf5-9401ae3a8899"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.762 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260314_031008.762 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260314_031008.762 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.762 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.763 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.763 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.763 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true} 20260314_031008.763 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.779 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.779 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) 20260314_031008.779 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) 20260314_031008.779 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260314_031008.784 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.785 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260314_031008.785 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.785 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMTRUMDM6MTA6MDguNzg1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzRmMmQyYWItMDVkMi00NTJhLWE0YzQtNDNkOTM4NDc3OTMyIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMTRUMDY6MTA6MDguNDA0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDAzOjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTE0VDA0OjEwOjA4LjQwNFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260314_031008.786 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.785Z", "policies_count": 4, "update_id": "34f2d2ab-05d2-452a-a4c4-43d938477932"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.786 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.785Z", "policies_count": 4, "update_id": "34f2d2ab-05d2-452a-a4c4-43d938477932"}} 20260314_031008.786 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}} 20260314_031008.787 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-03-14T06:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-03-14T03:10:08.404Z", "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"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-03-14T04:10:08.404Z", "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"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2026-03-14T03:10:08.785Z", "policies_count": 4, "update_id": "34f2d2ab-05d2-452a-a4c4-43d938477932"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.787 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"] 20260314_031008.787 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260314_031008.788 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC43ODdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2OGE0ZWRjNy1mMDc2LTQ4NjEtODY5Yi02NGY2ZDgwZWM1MjUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260314_031008.788 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.788 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.787Z", "policies_count": 0, "update_id": "68a4edc7-f076-4861-869b-64f6d80ec525"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.789 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260314_031008.789 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260314_031008.789 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "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}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.787Z", "policies_count": 0, "update_id": "68a4edc7-f076-4861-869b-64f6d80ec525"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.790 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260314_031008.790 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260314_031008.790 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0xNFQwMzoxMDowOC43OTBaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJkMzkzMzBmMS0wOTdkLTRjYTQtODY5MC04ZDE2YTg0MDZlODMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0xNFQwNDoxMDowOC40MDRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260314_031008.790 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"} 20260314_031008.791 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}, "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"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T05:10:08.404Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}, "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": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name"}, "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.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T06:10:08.404Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-03-14T07:10:08.404Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "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"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "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": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2026-03-14T03:10:08.790Z", "policies_count": 2, "update_id": "d39330f1-097d-4ca4-8690-8d16a8406e83"}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2026-03-14T03:10:08.404Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name"}, "type": "node-instance", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}} 20260314_031008.791 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260314_031008.791 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260314_031008.791 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-03-14T04:10:08.404Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260314_031008.792 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear