20251108_031005.607 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251108_031005.608 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.608 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251108_031005.608 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.608 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.609 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.609 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.615 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.616 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.616 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.616 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuNjE2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTlmNTMwMTUtNjE3Ni00MDFmLWJlZDktNzEzYWE4MmZmNDE0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.617 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.616Z", "policies_count": 4, "update_id": "59f53015-6176-401f-bed9-713aa82ff414"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.617 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.616Z", "policies_count": 4, "update_id": "59f53015-6176-401f-bed9-713aa82ff414"}} 20251108_031005.617 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.618 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.616Z", "policies_count": 4, "update_id": "59f53015-6176-401f-bed9-713aa82ff414"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.618 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251108_031005.618 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.618 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.619 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.616Z", "policies_count": 4, "update_id": "59f53015-6176-401f-bed9-713aa82ff414"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.619 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.632 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 20251108_031005.632 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.635 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.635 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20251108_031005.635 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) 20251108_031005.636 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.639 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.639 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251108_031005.639 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.639 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251108_031005.639 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.644 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.645 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.645 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.646 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuNjQ1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTJmNzNiYzMtN2JhMi00ODQ4LTliYzItYTIzYTU3YjI1YmY0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.646 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.645Z", "policies_count": 4, "update_id": "a2f73bc3-7ba2-4848-9bc2-a23a57b25bf4"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.646 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.645Z", "policies_count": 4, "update_id": "a2f73bc3-7ba2-4848-9bc2-a23a57b25bf4"}} 20251108_031005.647 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.647 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20251108_031005.647 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251108_031005.647 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.645Z", "policies_count": 4, "update_id": "a2f73bc3-7ba2-4848-9bc2-a23a57b25bf4"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.648 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251108_031005.648 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.648 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS42NDhaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI0YWUzOTM1Ny1mOTBkLTQwZmItODFjNy04ZWEzMjkzYmU5NzgifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251108_031005.649 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.649 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.648Z", "policies_count": 4, "update_id": "4ae39357-f90d-40fb-81c7-8ea3293be978"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.649 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251108_031005.649 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.650 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.650 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.650 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.650 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.650 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.650 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.665 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.665 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.665 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.665 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.665 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20251108_031005.666 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251108_031005.666 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.671 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.672 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.672 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.673 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuNjczWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTdiOWJiNmYtNGUyYS00YjM5LTkyNTEtOGY0NDM0Y2NkMjIyIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.673 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.673Z", "policies_count": 4, "update_id": "e7b9bb6f-4e2a-4b39-9251-8f4434ccd222"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.674 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.673Z", "policies_count": 4, "update_id": "e7b9bb6f-4e2a-4b39-9251-8f4434ccd222"}} 20251108_031005.674 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.674 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20251108_031005.674 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251108_031005.674 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.673Z", "policies_count": 4, "update_id": "e7b9bb6f-4e2a-4b39-9251-8f4434ccd222"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.675 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251108_031005.675 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.675 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS42NzVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI2M2ExMzIzZi0xODQ0LTRhZGEtODc5ZS1lYThkMDhhNDk2N2QifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251108_031005.676 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.676 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.675Z", "policies_count": 4, "update_id": "63a1323f-1844-4ada-879e-ea8d08a4967d"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.676 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251108_031005.677 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.677 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.677 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.677 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.677 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.677 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.678 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.692 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251108_031005.693 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.693 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251108_031005.693 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.693 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.694 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.694 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.702 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.703 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.703 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.703 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuNzAzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmZhYzY2MGMtODlkYS00ZmJiLWEwNDYtMWIyMTg5MzYxN2VmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.704 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.703Z", "policies_count": 4, "update_id": "ffac660c-89da-4fbb-a046-1b21893617ef"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.704 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.703Z", "policies_count": 4, "update_id": "ffac660c-89da-4fbb-a046-1b21893617ef"}} 20251108_031005.704 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.705 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.703Z", "policies_count": 4, "update_id": "ffac660c-89da-4fbb-a046-1b21893617ef"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.705 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251108_031005.706 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251108_031005.706 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS43MDZaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJlZGYwNWJjNi1hMTY0LTQ3ZDktOTIyNy03ZjZjOTFkOGQ0MzMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251108_031005.706 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.707 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.706Z", "policies_count": 0, "update_id": "edf05bc6-a164-47d9-9227-7f6c91d8d433"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.707 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251108_031005.707 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20251108_031005.707 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251108_031005.708 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.706Z", "policies_count": 0, "update_id": "edf05bc6-a164-47d9-9227-7f6c91d8d433"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.708 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251108_031005.708 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.708 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS43MDhaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJiOTIwMThhOC0xZGJmLTRmNGUtYTljYy01NTJkNGZmMDg0ZjIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251108_031005.709 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.709 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.708Z", "policies_count": 2, "update_id": "b92018a8-1dbf-4f4e-a9cc-552d4ff084f2"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.709 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251108_031005.709 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.710 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.710 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.728 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251108_031005.728 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.729 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251108_031005.729 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.729 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.729 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.730 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.737 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251108_031005.738 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.738 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251108_031005.738 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.738 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.739 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.739 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.747 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.748 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.748 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.748 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuNzQ4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDMwOGM3MmMtMDE3Yy00NzdlLTljYmQtZTMxNThiYTc5YTIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.749 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.748Z", "policies_count": 4, "update_id": "d308c72c-017c-477e-9cbd-e3158ba79a21"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.749 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.748Z", "policies_count": 4, "update_id": "d308c72c-017c-477e-9cbd-e3158ba79a21"}} 20251108_031005.749 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.749 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20251108_031005.749 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251108_031005.750 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.748Z", "policies_count": 4, "update_id": "d308c72c-017c-477e-9cbd-e3158ba79a21"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.750 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251108_031005.750 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.751 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS43NTBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI3Y2JiYjVjYy1jOGRmLTQ1YWUtOGZjMS04NWEzY2U0ZTc5NWMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251108_031005.751 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.752 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.750Z", "policies_count": 4, "update_id": "7cbbb5cc-c8df-45ae-8fc1-85a3ce4e795c"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.752 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251108_031005.752 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.752 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.752 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.752 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.753 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.753 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.753 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.767 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.767 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.767 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.767 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.768 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20251108_031005.768 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251108_031005.768 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.772 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251108_031005.773 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.773 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251108_031005.773 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.773 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.774 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.774 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.782 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.783 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.783 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.783 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuNzgzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWNlNTYwZTYtZjRhZi00OGM2LWE0Y2EtZWI1YjM2MmMyZmY1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.784 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.783Z", "policies_count": 4, "update_id": "9ce560e6-f4af-48c6-a4ca-eb5b362c2ff5"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.784 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.783Z", "policies_count": 4, "update_id": "9ce560e6-f4af-48c6-a4ca-eb5b362c2ff5"}} 20251108_031005.784 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.784 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.783Z", "policies_count": 4, "update_id": "9ce560e6-f4af-48c6-a4ca-eb5b362c2ff5"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.785 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251108_031005.785 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251108_031005.785 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS43ODVaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI5NTU0YzBkYi0wMTE2LTQyNjItYjE2ZS03NTMxYjkyNzczNGMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251108_031005.786 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.786 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.785Z", "policies_count": 0, "update_id": "9554c0db-0116-4262-b16e-7531b927734c"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.786 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20251108_031005.786 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251108_031005.787 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.785Z", "policies_count": 0, "update_id": "9554c0db-0116-4262-b16e-7531b927734c"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.787 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251108_031005.787 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.788 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS43ODdaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJmOWNlNTdhYy1kNTY0LTQ5N2MtOTZlYi1kYjRiOWI3ZWJjN2IifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251108_031005.788 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.788 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.787Z", "policies_count": 2, "update_id": "f9ce57ac-d564-497c-96eb-db4b9b7ebc7b"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.789 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251108_031005.789 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.789 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.789 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.807 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.808 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20251108_031005.808 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) 20251108_031005.808 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.812 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.813 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.813 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.814 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuODE0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzAyMzVhY2UtYzdkNC00Njk3LTg0YjYtYWE2NDQ5MjE1MTQ1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.814 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.814Z", "policies_count": 4, "update_id": "70235ace-c7d4-4697-84b6-aa6449215145"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.814 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.814Z", "policies_count": 4, "update_id": "70235ace-c7d4-4697-84b6-aa6449215145"}} 20251108_031005.815 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.815 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.825 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.826 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.826 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.826 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuODI2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzk2OTZlYWYtOTI3Zi00NjYzLThkZjAtNTEzNGZjODMzNzcxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.827 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.826Z", "policies_count": 4, "update_id": "c9696eaf-927f-4663-8df0-5134fc833771"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.827 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.826Z", "policies_count": 4, "update_id": "c9696eaf-927f-4663-8df0-5134fc833771"}} 20251108_031005.827 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.827 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20251108_031005.827 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251108_031005.828 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.826Z", "policies_count": 4, "update_id": "c9696eaf-927f-4663-8df0-5134fc833771"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.828 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20251108_031005.828 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.829 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS44MjlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJjYmYzNzVmZS03MGJlLTRiYjctODBmZi0xNzFlNzk0ZmQyNzIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wOFQwNDoxMDowNS41ODRaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251108_031005.829 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.830 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.829Z", "policies_count": 4, "update_id": "cbf375fe-70be-4bb7-80ff-171e794fd272"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.830 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251108_031005.830 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.830 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.830 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.831 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.831 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.831 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.831 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.846 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.847 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.847 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.848 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuODQ4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzUyMWFjY2YtNzZlMC00OGRlLTgzYmYtZjY4ZDBhZmQ2NDZkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.848 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.848Z", "policies_count": 4, "update_id": "7521accf-76e0-48de-83bf-f68d0afd646d"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.848 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.848Z", "policies_count": 4, "update_id": "7521accf-76e0-48de-83bf-f68d0afd646d"}} 20251108_031005.849 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.849 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.848Z", "policies_count": 4, "update_id": "7521accf-76e0-48de-83bf-f68d0afd646d"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.849 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251108_031005.849 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.850 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.850 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.848Z", "policies_count": 4, "update_id": "7521accf-76e0-48de-83bf-f68d0afd646d"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.850 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.863 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 20251108_031005.864 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.867 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.868 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.868 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.869 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuODY5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMGJlZTNjNzYtMzE3NS00YjEzLThjMjItZTI2ZTAxODA3ZWE0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.869 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.869Z", "policies_count": 4, "update_id": "0bee3c76-3175-4b13-8c22-e26e01807ea4"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.870 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.869Z", "policies_count": 4, "update_id": "0bee3c76-3175-4b13-8c22-e26e01807ea4"}} 20251108_031005.870 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.870 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.869Z", "policies_count": 4, "update_id": "0bee3c76-3175-4b13-8c22-e26e01807ea4"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.870 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251108_031005.871 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251108_031005.871 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS44NzFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIzYzdiOGNiZi0xYzFkLTQ5YzQtYTNlZS0yNTc5YTYyODY3NGIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251108_031005.871 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.872 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.871Z", "policies_count": 0, "update_id": "3c7b8cbf-1c1d-49c4-a3ee-2579a628674b"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.872 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.871Z", "policies_count": 0, "update_id": "3c7b8cbf-1c1d-49c4-a3ee-2579a628674b"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.873 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251108_031005.873 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251108_031005.873 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.871Z", "policies_count": 0, "update_id": "3c7b8cbf-1c1d-49c4-a3ee-2579a628674b"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.873 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20251108_031005.874 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.871Z", "policies_count": 0, "update_id": "3c7b8cbf-1c1d-49c4-a3ee-2579a628674b"}} 20251108_031005.874 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.874 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.893 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.894 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.894 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.894 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuODk0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTA0ZWFkMWYtNDRhYS00MDQ0LWE1MTEtYWE2NGZlY2Q4OTdhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.895 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.894Z", "policies_count": 4, "update_id": "e04ead1f-44aa-4044-a511-aa64fecd897a"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.895 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.894Z", "policies_count": 4, "update_id": "e04ead1f-44aa-4044-a511-aa64fecd897a"}} 20251108_031005.895 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.895 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.895 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.896 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.896 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.896 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.896 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true} 20251108_031005.896 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.896 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false} 20251108_031005.897 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.907 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.908 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.908 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.908 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuOTA4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjE2NTg3MjMtNGZmMC00NDliLTlmNzQtMTU3ZDM0YTg5NGE1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.909 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.908Z", "policies_count": 4, "update_id": "61658723-4ff0-449b-9f74-157d34a894a5"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.909 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.908Z", "policies_count": 4, "update_id": "61658723-4ff0-449b-9f74-157d34a894a5"}} 20251108_031005.909 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.909 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.910 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}] 20251108_031005.910 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.908Z", "policies_count": 4, "update_id": "61658723-4ff0-449b-9f74-157d34a894a5"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.910 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}, removed_policies: ["<<>>"] 20251108_031005.911 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}} 20251108_031005.911 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}], "duplicate": []} 20251108_031005.911 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.908Z", "policies_count": 4, "update_id": "61658723-4ff0-449b-9f74-157d34a894a5"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.911 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.908Z", "policies_count": 4, "update_id": "61658723-4ff0-449b-9f74-157d34a894a5"}} 20251108_031005.912 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.912 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.912 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.928 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251108_031005.928 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.929 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.929 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.929 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.929 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251108_031005.937 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.938 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251108_031005.938 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.939 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMTEtMDhUMDM6MTA6MDUuOTM4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzQwMTJjMGMtMjJjMy00NzljLTgzM2EtMGNlOTExNDhlNzBjIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDhUMDY6MTA6MDUuNTg0WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDAzOjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTA4VDA0OjEwOjA1LjU4NFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20251108_031005.939 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.938Z", "policies_count": 4, "update_id": "74012c0c-22c3-479c-833a-0ce91148e70c"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.939 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.938Z", "policies_count": 4, "update_id": "74012c0c-22c3-479c-833a-0ce91148e70c"}} 20251108_031005.939 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20251108_031005.940 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "policies_event": {"action": "gathered", "timestamp": "2025-11-08T03:10:05.938Z", "policies_count": 4, "update_id": "74012c0c-22c3-479c-833a-0ce91148e70c"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.940 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251108_031005.941 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251108_031005.941 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wOFQwMzoxMDowNS45NDFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2OTFmNTVhOC01NDI4LTQ5OWQtYWZlMC01YTY5ZTE4MDYyZjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20251108_031005.941 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.942 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem"}}, "id": "test_ms_name", "name": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T05:10:05.584Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "id": "non_policies_node_name", "name": "non_policies_node_name", "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T03:10:05.584Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T04:10:05.584Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T06:10:05.584Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-11-08T07:10:05.584Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.941Z", "policies_count": 0, "update_id": "691f55a8-5428-499d-afe0-5a69e18062f4"}}}, "execution_id": "test_dcae_policy_exe_id", "task_target": null} 20251108_031005.942 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20251108_031005.942 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"action": "updated", "timestamp": "2025-11-08T03:10:05.941Z", "policies_count": 0, "update_id": "691f55a8-5428-499d-afe0-5a69e18062f4"}} 20251108_031005.942 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-11-08T03:10:05.584Z", "db_port": "123", "policy_hello": "Lorem"} 20251108_031005.942 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear