20260704_031204.685 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260704_031204.686 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.686 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.686 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.686 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.687 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.694 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.695 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.695 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.695 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTI4ZDk5YjMtMzY5NS00NWQwLTg3NzQtZDk2OWJjNmUxZmM4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjY5NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.696 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "a28d99b3-3695-45d0-8774-d969bc6e1fc8", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.695Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.696 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "a28d99b3-3695-45d0-8774-d969bc6e1fc8", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.695Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.697 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.697 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.707 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.708 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.708 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjUyOGIxMGMtZDJmNS00YzhiLTkzYWQtNzVmOTMyNmFjYzQyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjcwOFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.709 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "6528b10c-d2f5-4c8b-93ad-75f9326acc42", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.708Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.709 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "6528b10c-d2f5-4c8b-93ad-75f9326acc42", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.708Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.709 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.710 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "6528b10c-d2f5-4c8b-93ad-75f9326acc42", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.708Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.710 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260704_031204.711 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260704_031204.711 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYWFmNDBlMTUtZjhiNi00MjFlLWExNjUtNmE1NjFjZGIxOGUzIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjcxMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260704_031204.712 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.712 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "aaf40e15-f8b6-421e-a165-6a561cdb18e3", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.711Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.712 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}] 20260704_031204.712 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260704_031204.713 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "aaf40e15-f8b6-421e-a165-6a561cdb18e3", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.711Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.713 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260704_031204.713 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}} 20260704_031204.714 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMGZlN2MwNzMtOTFhYS00M2NhLWJhYmYtZDYyMTRiYWNlNmQ3IiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjcxM1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.714 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.714 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}, "policies_event": {"update_id": "0fe7c073-91aa-43ca-babf-d6214bace6d7", "policies_count": 2, "timestamp": "2026-07-04T03:12:04.713Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.715 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260704_031204.715 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"} 20260704_031204.715 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031204.715 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.736 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.737 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.737 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.737 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzNjMzc0MDctOGMzMC00NzlmLWE5ZTAtNTc3NDk0YjkxNTQzIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjczN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.738 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "73c37407-8c30-479f-a9e0-577494b91543", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.737Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.738 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "73c37407-8c30-479f-a9e0-577494b91543", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.737Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.738 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.739 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}] 20260704_031204.739 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260704_031204.739 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "73c37407-8c30-479f-a9e0-577494b91543", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.737Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.739 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260704_031204.740 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}} 20260704_031204.740 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMzRiOTkzNjQtZWY2ZS00YjdjLWIzZTUtNjZjNjM1ODc1NjQxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljc0MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.741 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.741 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}, "policies_event": {"update_id": "34b99364-ef6e-4b7c-b3e5-66c635875641", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.740Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.741 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260704_031204.741 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"} 20260704_031204.741 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031204.742 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.742 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.742 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.742 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"} 20260704_031204.742 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.759 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.760 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.760 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.760 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiY2VlNTFkMzgtNWNkNy00ODRlLTg0MTktNzJhZDQ4ZTE1YTVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljc2MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.761 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "cee51d38-5cd7-484e-8419-72ad48e15a5d", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.760Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.761 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "cee51d38-5cd7-484e-8419-72ad48e15a5d", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.760Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.761 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.761 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}] 20260704_031204.761 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260704_031204.762 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "cee51d38-5cd7-484e-8419-72ad48e15a5d", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.760Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.762 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260704_031204.762 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}} 20260704_031204.763 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzhkYjM4MTUtZmI5Yy00YmUwLTlmN2ItYWYwNzcwNmM3NGM4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljc2M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.763 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.764 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}, "policies_event": {"update_id": "c8db3815-fb9c-4be0-9f7b-af07706c74c8", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.763Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.764 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260704_031204.764 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"} 20260704_031204.764 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031204.765 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.765 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.765 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.765 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"} 20260704_031204.765 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.780 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260704_031204.781 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.781 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/"}}] 20260704_031204.781 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.781 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.782 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.782 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.788 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 20260704_031204.789 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.791 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.792 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) 20260704_031204.792 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) 20260704_031204.792 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.796 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.797 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.797 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.798 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMmYwY2Q1NDMtZjZhZC00OGJkLThmZTAtM2Y1MjU4NzYzZGE3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljc5OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.798 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "2f0cd543-f6ad-48bd-8fe0-3f5258763da7", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.798Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.798 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "2f0cd543-f6ad-48bd-8fe0-3f5258763da7", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.798Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.799 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.799 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.799 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.799 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}, "policy_id": "monkeyed.Config_both"} 20260704_031204.799 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"} 20260704_031204.800 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031204.800 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031204.800 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"} 20260704_031204.800 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"} 20260704_031204.800 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.809 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.809 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260704_031204.809 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.810 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260704_031204.810 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.814 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.815 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.816 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.816 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMWY3ODAxMTctMTI2Yy00MTQ2LWI4ZjQtMTI2ZGFiNDExMTQyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjgxNloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.817 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "1f780117-126c-4146-b8f4-126dab411142", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.816Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.817 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "1f780117-126c-4146-b8f4-126dab411142", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.816Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.817 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.818 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "1f780117-126c-4146-b8f4-126dab411142", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.816Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.818 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260704_031204.819 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260704_031204.819 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiY2VhYjY1OTMtZjRkMy00YzA1LTljMzYtOTBhNmViMjI3ZDk3IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjgxOVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260704_031204.820 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.820 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "ceab6593-f4d3-4c05-9c36-90a6eb227d97", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.819Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.820 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260704_031204.821 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "ceab6593-f4d3-4c05-9c36-90a6eb227d97", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.819Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.821 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.821 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.835 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.835 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.836 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.836 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.836 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20260704_031204.836 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260704_031204.836 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.841 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.842 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.842 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.843 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDUwY2ZkN2ItZTkzOC00ZmMzLWIzODMtOTJmNTg5ZGRjNjAyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljg0MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.843 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "d50cfd7b-e938-4fc3-b383-92f589ddc602", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.842Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.843 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "d50cfd7b-e938-4fc3-b383-92f589ddc602", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.842Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.844 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.844 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "d50cfd7b-e938-4fc3-b383-92f589ddc602", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.842Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.844 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/"}}] 20260704_031204.844 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.845 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.845 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "d50cfd7b-e938-4fc3-b383-92f589ddc602", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.842Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.845 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.859 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260704_031204.860 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.860 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/"}}] 20260704_031204.860 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.860 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.861 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.861 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.868 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260704_031204.869 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.869 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260704_031204.869 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.869 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.870 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.870 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.878 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.879 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.879 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.880 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDE5ZTUzNjItNTY0ZS00OTFhLTkwNmYtODMxODA4M2Q0ZTNjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljg3OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.880 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "419e5362-564e-491a-906f-8318083d4e3c", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.879Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.880 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "419e5362-564e-491a-906f-8318083d4e3c", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.879Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.880 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.881 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}] 20260704_031204.881 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260704_031204.881 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "419e5362-564e-491a-906f-8318083d4e3c", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.879Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.882 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260704_031204.882 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}} 20260704_031204.882 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOTRkMDZhOTQtODhlNy00MjQyLWI0YzYtYjg1MDVjYmM3ODRmIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljg4MloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.883 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.883 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}, "policies_event": {"update_id": "94d06a94-88e7-4242-b4c6-b8505cbc784f", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.882Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.884 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260704_031204.884 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"} 20260704_031204.884 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031204.884 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.884 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.884 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031204.885 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"} 20260704_031204.885 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.901 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.902 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.902 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.902 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGEwMDc3MDAtZTRmNC00MjA2LWEwOGItNTYwZGFiZTI1YzFhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjkwMloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.903 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "da007700-e4f4-4206-a08b-560dabe25c1a", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.902Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.903 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "da007700-e4f4-4206-a08b-560dabe25c1a", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.902Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.903 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.904 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "da007700-e4f4-4206-a08b-560dabe25c1a", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.902Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.904 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260704_031204.904 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260704_031204.905 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjU5ZThlNjgtN2VjYi00YzkxLWJiZTItNjQ3ZDljM2U4ZTBlIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjkwNFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260704_031204.905 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.905 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "659e8e68-7ecb-4c91-bbe2-647d9c3e8e0e", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.904Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.906 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20260704_031204.906 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}] 20260704_031204.906 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260704_031204.906 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "659e8e68-7ecb-4c91-bbe2-647d9c3e8e0e", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.904Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.906 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260704_031204.907 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}} 20260704_031204.907 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjE0NTlkMDctNGYzNC00YTM4LWI1MTUtYzJjOGY2OWE2Mjc1IiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjkwN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.907 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.908 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}, "policies_event": {"update_id": "61459d07-4f34-4a38-b515-c2c8f69a6275", "policies_count": 2, "timestamp": "2026-07-04T03:12:04.907Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.908 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260704_031204.908 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"} 20260704_031204.908 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031204.909 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.927 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 20260704_031204.927 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.932 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.933 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.933 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.933 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYmUzODI4OWMtY2YzMC00ZmEyLWFlMTItYTA1M2NkM2I0YzhiIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjkzM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.934 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "be38289c-cf30-4fa2-ae12-a053cd3b4c8b", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.933Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.934 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "be38289c-cf30-4fa2-ae12-a053cd3b4c8b", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.933Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.934 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.935 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "be38289c-cf30-4fa2-ae12-a053cd3b4c8b", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.933Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.935 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260704_031204.935 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260704_031204.935 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDJjYTM4ODItNWUxNC00ODE4LWEwYjktYjQyM2ZkZTZmNmY2IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0LjkzNVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260704_031204.936 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.936 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "42ca3882-5e14-4818-a0b9-b423fde6f6f6", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.935Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.937 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "42ca3882-5e14-4818-a0b9-b423fde6f6f6", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.935Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.937 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260704_031204.937 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260704_031204.938 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "42ca3882-5e14-4818-a0b9-b423fde6f6f6", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.935Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.938 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260704_031204.938 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policies_event": {"update_id": "42ca3882-5e14-4818-a0b9-b423fde6f6f6", "policies_count": 0, "timestamp": "2026-07-04T03:12:04.935Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.938 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.938 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.958 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.959 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.959 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.960 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTkwMDY3MzEtZWY4Zi00ODAyLTgyMGUtNDMyMzAyMjNmZjU3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljk2MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.960 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "e9006731-ef8f-4802-820e-43230223ff57", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.960Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.961 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "e9006731-ef8f-4802-820e-43230223ff57", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.960Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.961 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.961 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.962 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi_3"}] 20260704_031204.962 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "e9006731-ef8f-4802-820e-43230223ff57", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.960Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.962 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20260704_031204.963 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}} 20260704_031204.963 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": [], "unexpected": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}]} 20260704_031204.963 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "e9006731-ef8f-4802-820e-43230223ff57", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.960Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.964 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "e9006731-ef8f-4802-820e-43230223ff57", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.960Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.964 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.964 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.964 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.980 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.981 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.981 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.981 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.981 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20260704_031204.982 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260704_031204.982 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.987 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260704_031204.987 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.988 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/"}}] 20260704_031204.988 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.988 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.988 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.989 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031204.997 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.998 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031204.998 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031204.998 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiN2U1MjNhMWYtZTkxYy00NWZkLWIzYTEtMjYwYzhjMWI2NTY0IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA0Ljk5OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031204.999 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "7e523a1f-e91c-45fd-b3a1-260c8c1b6564", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.998Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031204.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "7e523a1f-e91c-45fd-b3a1-260c8c1b6564", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.998Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031204.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031204.999 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}] 20260704_031205.000 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260704_031205.000 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "7e523a1f-e91c-45fd-b3a1-260c8c1b6564", "policies_count": 4, "timestamp": "2026-07-04T03:12:04.998Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.000 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260704_031205.000 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}} 20260704_031205.001 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDAwNTkwMTgtY2M2Ny00MGE5LWI0YTYtZjZjNjVjYTMyYTRlIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA1LjAwMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsfQ=="}}] 20260704_031205.001 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031205.002 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}, "policies_event": {"update_id": "d0059018-cc67-40a9-b4a6-f6c65ca32a4e", "policies_count": 4, "timestamp": "2026-07-04T03:12:05.001Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.002 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260704_031205.002 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"} 20260704_031205.002 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"} 20260704_031205.002 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031205.003 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031205.003 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"} 20260704_031205.003 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"} 20260704_031205.003 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031205.019 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.019 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) 20260704_031205.019 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) 20260704_031205.019 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031205.025 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260704_031205.026 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.026 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/"}}] 20260704_031205.026 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031205.027 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031205.027 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.028 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260704_031205.035 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.036 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031205.036 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031205.037 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": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMzU4NzY2NTUtYTk0NS00NzFhLWExN2EtMzdkMTliZDBkYThmIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA3LTA0VDAzOjEyOjA1LjAzNloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwNjoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNy0wNFQwMzoxMjowNC42NTlaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA3LTA0VDA2OjEyOjA0LjY1OVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDctMDRUMDQ6MTI6MDQuNjU5WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260704_031205.037 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "35876655-a945-471a-a17a-37d19bd0da8f", "policies_count": 4, "timestamp": "2026-07-04T03:12:05.036Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.037 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "35876655-a945-471a-a17a-37d19bd0da8f", "policies_count": 4, "timestamp": "2026-07-04T03:12:05.036Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260704_031205.038 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}} 20260704_031205.038 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "35876655-a945-471a-a17a-37d19bd0da8f", "policies_count": 4, "timestamp": "2026-07-04T03:12:05.036Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.038 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/"}}] 20260704_031205.038 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260704_031205.039 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260704_031205.039 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "db_port": "123"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-07-04T05:12:04.659Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-07-04T07:12:04.659Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2026-07-04T03:12:04.659Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2026-07-04T06:12:04.659Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2026-07-04T04:12:04.659Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}, "policies_event": {"update_id": "35876655-a945-471a-a17a-37d19bd0da8f", "policies_count": 4, "timestamp": "2026-07-04T03:12:05.036Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-07-04T03:12:04.659Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_target": null, "task_queue": null, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20260704_031205.039 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear