20260321_070605.128 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260321_070605.128 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.129 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.129 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.129 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.129 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.135 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.136 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.137 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.137 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTM3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNWE3YWZlYjAtYjc2Ny00ZGY4LTllZDgtYmM0MTc1Y2ZmM2FhIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.137 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.137Z", "policies_count": 4, "update_id": "5a7afeb0-b767-4df8-9ed8-bc4175cff3aa"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.138 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.137Z", "policies_count": 4, "update_id": "5a7afeb0-b767-4df8-9ed8-bc4175cff3aa"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.138 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.138 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.137Z", "policies_count": 4, "update_id": "5a7afeb0-b767-4df8-9ed8-bc4175cff3aa"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.139 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260321_070605.139 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260321_070605.139 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS4xMzlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJmNDhiNjllYi1hNjFlLTRkZWYtOGY4ZS0zNjc5ZDk1YjQwODcifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260321_070605.140 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.140 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.139Z", "policies_count": 0, "update_id": "f48b69eb-a61e-4def-8f8e-3679d95b4087"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.140 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260321_070605.140 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.139Z", "policies_count": 0, "update_id": "f48b69eb-a61e-4def-8f8e-3679d95b4087"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"} 20260321_070605.141 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.141 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.155 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.155 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-maven-clm-master/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) 20260321_070605.155 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) 20260321_070605.156 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.160 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.161 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.161 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.161 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTYxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2M3MmIyMWQtOTljNS00OTI5LWIyMTUtMGQzNTBmOTY0MGQ5In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.162 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.161Z", "policies_count": 4, "update_id": "7c72b21d-99c5-4929-b215-0d350f9640d9"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.162 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.161Z", "policies_count": 4, "update_id": "7c72b21d-99c5-4929-b215-0d350f9640d9"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.162 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.163 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20260321_070605.163 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260321_070605.163 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.161Z", "policies_count": 4, "update_id": "7c72b21d-99c5-4929-b215-0d350f9640d9"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.163 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260321_070605.164 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20260321_070605.164 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS4xNjRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI1ZDM0NTU4Zi03Y2M5LTRkMDktOWJmYy1jZGViYjU4NjZlNzgifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.165 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.165 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.164Z", "policies_count": 4, "update_id": "5d34558f-7cc9-4d09-9bfc-cdebb5866e78"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.165 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260321_070605.165 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.165 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.166 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.166 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20260321_070605.166 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.166 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}} 20260321_070605.166 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.182 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260321_070605.182 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.183 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260321_070605.183 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.183 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.183 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.184 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.192 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.193 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.194 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.194 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTk0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYmZkZTg5OTgtNDBiMC00ZjRhLWE4MzMtMjQ0MDY5YjllZmI0In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.194 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.194Z", "policies_count": 4, "update_id": "bfde8998-40b0-4f4a-a833-244069b9efb4"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.195 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.194Z", "policies_count": 4, "update_id": "bfde8998-40b0-4f4a-a833-244069b9efb4"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.195 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.195 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.194Z", "policies_count": 4, "update_id": "bfde8998-40b0-4f4a-a833-244069b9efb4"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.196 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260321_070605.196 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.196 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.196 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.194Z", "policies_count": 4, "update_id": "bfde8998-40b0-4f4a-a833-244069b9efb4"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.196 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.211 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.212 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.212 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.213 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMjEyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWVjZGY5ODMtM2U0MS00ODY2LTgwNzUtMDIxMTZkZTcyZGJmIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.213 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.212Z", "policies_count": 4, "update_id": "9ecdf983-3e41-4866-8075-02116de72dbf"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.213 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.212Z", "policies_count": 4, "update_id": "9ecdf983-3e41-4866-8075-02116de72dbf"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.214 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.214 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.212Z", "policies_count": 4, "update_id": "9ecdf983-3e41-4866-8075-02116de72dbf"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.214 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260321_070605.215 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260321_070605.215 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS4yMTVaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIxMzE4NDM5ZS03MmNmLTQ0ZTUtOTg2Yy1mYmVlY2ZlNjUyYzAifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260321_070605.215 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.216 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.215Z", "policies_count": 0, "update_id": "1318439e-72cf-44e5-986c-fbeecfe652c0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.216 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.215Z", "policies_count": 0, "update_id": "1318439e-72cf-44e5-986c-fbeecfe652c0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.216 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260321_070605.217 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260321_070605.217 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.215Z", "policies_count": 0, "update_id": "1318439e-72cf-44e5-986c-fbeecfe652c0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.217 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20260321_070605.217 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.215Z", "policies_count": 0, "update_id": "1318439e-72cf-44e5-986c-fbeecfe652c0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"} 20260321_070605.218 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.218 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.238 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.239 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.239 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.239 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMjM5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGE5YjQyMDAtYmQ0NS00NjkzLTkyY2UtODEzZmNlMDlkYTNlIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.240 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.239Z", "policies_count": 4, "update_id": "8a9b4200-bd45-4693-92ce-813fce09da3e"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.240 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.239Z", "policies_count": 4, "update_id": "8a9b4200-bd45-4693-92ce-813fce09da3e"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.240 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.240 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20260321_070605.240 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260321_070605.241 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.239Z", "policies_count": 4, "update_id": "8a9b4200-bd45-4693-92ce-813fce09da3e"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.241 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260321_070605.241 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20260321_070605.242 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS4yNDJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxZmUzMDFiMS01YzJmLTQ1YjgtYWNmNC1iY2M0NjU1Y2JkNTgifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.242 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.243 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.242Z", "policies_count": 4, "update_id": "1fe301b1-5c2f-45b8-acf4-bcc4655cbd58"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.243 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260321_070605.243 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.243 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.244 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.244 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20260321_070605.244 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.244 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}} 20260321_070605.244 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.259 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.260 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260321_070605.260 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.260 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260321_070605.260 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.265 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.266 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.266 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.266 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMjY2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTU0ZjhiNmQtMzdlYy00NGM5LThiNzctOTExN2IwYTBiMWQ5In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.267 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.266Z", "policies_count": 4, "update_id": "154f8b6d-37ec-44c9-8b77-9117b0a0b1d9"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.267 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.266Z", "policies_count": 4, "update_id": "154f8b6d-37ec-44c9-8b77-9117b0a0b1d9"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.267 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.267 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.277 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.278 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.278 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.279 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMjc4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDJjZGQwMGMtMzg4My00N2M1LTk4N2UtYzZjMzhiOTFhNzYxIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.279 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.278Z", "policies_count": 4, "update_id": "02cdd00c-3883-47c5-987e-c6c38b91a761"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.279 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.278Z", "policies_count": 4, "update_id": "02cdd00c-3883-47c5-987e-c6c38b91a761"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.279 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.280 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.278Z", "policies_count": 4, "update_id": "02cdd00c-3883-47c5-987e-c6c38b91a761"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.280 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260321_070605.281 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260321_070605.281 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS4yODFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2NTc5YWEwMy04MjY4LTQ1YWYtOTcwZi0wNTUwNjlhM2E5YTUifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260321_070605.281 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.282 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.281Z", "policies_count": 0, "update_id": "6579aa03-8268-45af-970f-055069a3a9a5"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.282 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260321_070605.282 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20260321_070605.282 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260321_070605.283 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.281Z", "policies_count": 0, "update_id": "6579aa03-8268-45af-970f-055069a3a9a5"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.283 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260321_070605.283 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20260321_070605.283 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS4yODNaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI4ZGI2ZGNlMi0yMzQ2LTQzMDYtOWZmOC0wYWEzZDczZTFhZDMifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.284 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.284 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.283Z", "policies_count": 2, "update_id": "8db6dce2-2346-4306-9ff8-0aa3d73e1ad3"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.284 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260321_070605.284 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.285 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.285 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.304 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.305 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.305 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.306 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMzA2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjE1MTEzNjUtMTU4MC00MDZiLTgzMGMtOGRmYjA4NDc5ZWYxIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.306 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.306Z", "policies_count": 4, "update_id": "21511365-1580-406b-830c-8dfb08479ef1"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.306 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.306Z", "policies_count": 4, "update_id": "21511365-1580-406b-830c-8dfb08479ef1"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.307 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.307 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.307 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20260321_070605.307 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.307 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}} 20260321_070605.307 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.308 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}} 20260321_070605.308 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.308 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}} 20260321_070605.308 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.318 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260321_070605.319 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.319 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260321_070605.319 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.319 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.320 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.320 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.327 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.327 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.327 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.327 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.327 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20260321_070605.328 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260321_070605.328 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.332 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260321_070605.333 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.333 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260321_070605.333 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.333 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.334 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.334 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.341 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 20260321_070605.341 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.345 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.345 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.346 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.346 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMzQ2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDQ2NmQ3MTAtM2IwNy00ZDRiLWE3NzgtZjU2MmIyZThlOWMyIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.346 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.346Z", "policies_count": 4, "update_id": "0466d710-3b07-4d4b-a778-f562b2e8e9c2"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.347 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.346Z", "policies_count": 4, "update_id": "0466d710-3b07-4d4b-a778-f562b2e8e9c2"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.347 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.347 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20260321_070605.347 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260321_070605.348 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.346Z", "policies_count": 4, "update_id": "0466d710-3b07-4d4b-a778-f562b2e8e9c2"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.348 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260321_070605.348 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20260321_070605.348 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS4zNDhaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI4Mjc0NDlmZS0zNzU1LTQ2ODAtYjlhZC04ZmY4YjA3YTcyMDAifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.349 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.349 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.348Z", "policies_count": 4, "update_id": "827449fe-3755-4680-b9ad-8ff8b07a7200"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260321_070605.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.350 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.350 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20260321_070605.350 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.351 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}} 20260321_070605.351 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.366 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260321_070605.367 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.367 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260321_070605.367 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.367 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.369 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.369 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.377 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260321_070605.377 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.377 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260321_070605.377 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.378 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.378 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.378 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.386 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.387 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.387 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.388 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMzg3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmEyNGE4YzYtZGIzOC00ZWI3LTliOTUtOWExNGYxNjhjNGQwIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.388 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.387Z", "policies_count": 4, "update_id": "6a24a8c6-db38-4eb7-9b95-9a14f168c4d0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.388 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.387Z", "policies_count": 4, "update_id": "6a24a8c6-db38-4eb7-9b95-9a14f168c4d0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.389 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.389 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.389 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}] 20260321_070605.390 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.387Z", "policies_count": 4, "update_id": "6a24a8c6-db38-4eb7-9b95-9a14f168c4d0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.390 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["<<>>"] 20260321_070605.390 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}} 20260321_070605.390 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}]} 20260321_070605.391 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.387Z", "policies_count": 4, "update_id": "6a24a8c6-db38-4eb7-9b95-9a14f168c4d0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.391 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.387Z", "policies_count": 4, "update_id": "6a24a8c6-db38-4eb7-9b95-9a14f168c4d0"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"} 20260321_070605.391 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.391 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.392 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.408 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.408 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.408 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.409 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.409 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20260321_070605.409 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260321_070605.409 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.414 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.415 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.415 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.416 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuNDE2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzY0NThiZWQtNDc3MC00MmYyLWE1NWItYmZjOWM2MDFmMTZjIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.416 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.416Z", "policies_count": 4, "update_id": "76458bed-4770-42f2-a55b-bfc9c601f16c"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.417 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.416Z", "policies_count": 4, "update_id": "76458bed-4770-42f2-a55b-bfc9c601f16c"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.417 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.417 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20260321_070605.417 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260321_070605.418 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.416Z", "policies_count": 4, "update_id": "76458bed-4770-42f2-a55b-bfc9c601f16c"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.418 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260321_070605.418 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20260321_070605.418 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS40MThaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxMTdhM2JjNC1kMDZmLTQwYzItYTIwNy05ZjZmOWNjMWJmNWIifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.419 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.419 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.418Z", "policies_count": 4, "update_id": "117a3bc4-d06f-40c2-a207-9f6f9cc1bf5b"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.420 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260321_070605.420 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.420 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.420 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.420 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}} 20260321_070605.420 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.421 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}} 20260321_070605.421 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.437 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.438 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.438 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.438 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuNDM4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjEyYWNiNGEtZTlkMi00Yjg5LTkyYTMtNzMyZGIxMWQyOTM0In0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.439 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.438Z", "policies_count": 4, "update_id": "212acb4a-e9d2-4b89-92a3-732db11d2934"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.439 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.438Z", "policies_count": 4, "update_id": "212acb4a-e9d2-4b89-92a3-732db11d2934"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.439 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.440 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.438Z", "policies_count": 4, "update_id": "212acb4a-e9d2-4b89-92a3-732db11d2934"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.440 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20260321_070605.441 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260321_070605.441 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS40NDFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2NTk4MDUyYy1kOWUzLTQwNGItOGMyMC01ZjM3YmViMzVkMzcifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}] 20260321_070605.441 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.442 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.441Z", "policies_count": 0, "update_id": "6598052c-d9e3-404b-8c20-5f37beb35d37"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.442 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}] 20260321_070605.442 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260321_070605.442 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.441Z", "policies_count": 0, "update_id": "6598052c-d9e3-404b-8c20-5f37beb35d37"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.443 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260321_070605.443 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}} 20260321_070605.443 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0yMVQwNzowNjowNS40NDNaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI5ZjMyYmExYi0xNGMwLTQ5N2ItOTlmNy05NDllMzg0NTNiNjQifQ==", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.444 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.444 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-03-21T07:06:05.443Z", "policies_count": 2, "update_id": "9f32ba1b-14c0-497b-99f7-949e38453b64"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.444 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260321_070605.444 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.444 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}} 20260321_070605.445 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.464 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.465 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-maven-clm-master/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) 20260321_070605.465 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) 20260321_070605.465 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.468 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 20260321_070605.469 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260321_070605.472 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.473 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.473 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.474 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuNDc0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjFhZGY2OTgtMjA4Ni00YjBlLWIzZmItZWIzYmM0NDQ2OGRiIn0=", "Key": "unit_test_scn:policies/event", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTIxVDA4OjA2OjA1LjEwNVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0yMVQxMDowNjowNS4xMDVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMDc6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set"}}, {"KV": {"Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMjFUMTA6MDY6MDUuMTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set"}}] 20260321_070605.474 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.474Z", "policies_count": 4, "update_id": "b1adf698-2086-4b0e-b3fb-eb3bc44468db"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.474 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.474Z", "policies_count": 4, "update_id": "b1adf698-2086-4b0e-b3fb-eb3bc44468db"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}} 20260321_070605.475 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}} 20260321_070605.475 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.474Z", "policies_count": 4, "update_id": "b1adf698-2086-4b0e-b3fb-eb3bc44468db"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.475 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260321_070605.475 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260321_070605.476 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"} 20260321_070605.476 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"type": "node-instance", "plugin": {"workdir": null, "package_name": null, "name": "", "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-03-21T07:06:05.474Z", "policies_count": 4, "update_id": "b1adf698-2086-4b0e-b3fb-eb3bc44468db"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies": {"monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}}, "relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-21T09:06:05.105Z", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-21T08:06:05.105Z", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-21T10:06:05.105Z", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! "}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-21T11:06:05.105Z", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! "}}}}, "relationships": []}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}]}, "workflow_id": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "node": {"id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-21T07:06:05.105Z", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_name": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "task_target": null} 20260321_070605.476 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear