20260509_031027.531 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260509_031027.531 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.532 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.532 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.532 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.532 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.537 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.537 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.538 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.538 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.538 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.538 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260509_031027.538 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.543 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260509_031027.544 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.544 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_031027.544 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.544 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.545 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.545 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.552 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 20260509_031027.552 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.556 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.557 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.557 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.557 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNWJhMGE3YjMtZmQyYy00YjhlLTkzNDItMWMzYTQ5MjAxMWVmIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy41NTdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.558 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5ba0a7b3-fd2c-4b8e-9342-1c3a492011ef", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.557Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.558 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5ba0a7b3-fd2c-4b8e-9342-1c3a492011ef", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.557Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.558 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.558 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260509_031027.559 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_031027.559 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5ba0a7b3-fd2c-4b8e-9342-1c3a492011ef", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.557Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.559 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_031027.560 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260509_031027.560 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODk3Mjg0ZTEtM2ZhZC00NDNjLThkODEtZDBmMGM3MzMyNDFkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3LjU2MFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.560 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.561 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "897284e1-3fad-443c-8d81-d0f0c733241d", "policies_count": 4, "action": "updated", "timestamp": "2026-05-09T03:10:27.560Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.561 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260509_031027.561 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260509_031027.561 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.562 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.562 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.562 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.562 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260509_031027.562 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.577 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.577 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.577 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.578 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.578 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.578 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260509_031027.578 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.584 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.585 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.585 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.585 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDBkMjNjNGUtZTRiZC00MTc0LThiMjktOTFhYmIxYmM1NWI4IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy41ODVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.586 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "40d23c4e-e4bd-4174-8b29-91abb1bc55b8", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.585Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.586 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "40d23c4e-e4bd-4174-8b29-91abb1bc55b8", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.585Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.586 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.586 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260509_031027.587 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_031027.587 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "40d23c4e-e4bd-4174-8b29-91abb1bc55b8", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.585Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.587 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_031027.587 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260509_031027.588 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMWFiZWU5YzUtMzdlNC00N2I5LWJmYmUtYWVlMDczZjA1ZGFlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3LjU4OFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.588 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.589 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "1abee9c5-37e4-47b9-bfbe-aee073f05dae", "policies_count": 4, "action": "updated", "timestamp": "2026-05-09T03:10:27.588Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.589 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260509_031027.589 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260509_031027.589 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.589 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.590 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.590 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.590 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260509_031027.590 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.606 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.607 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.607 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.608 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODBmNmQyM2EtMGMzYS00ZTFiLWI5ZjEtMDE3Zjg0Y2I5M2RlIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy42MDdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.608 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "80f6d23a-0c3a-4e1b-b9f1-017f84cb93de", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.607Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.608 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "80f6d23a-0c3a-4e1b-b9f1-017f84cb93de", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.607Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.609 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.609 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.609 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_3"}] 20260509_031027.610 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "80f6d23a-0c3a-4e1b-b9f1-017f84cb93de", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.607Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.610 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20260509_031027.610 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}} 20260509_031027.610 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach"}], "duplicate": [], "unexpected": [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_3"}]} 20260509_031027.611 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "80f6d23a-0c3a-4e1b-b9f1-017f84cb93de", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.607Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.611 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "80f6d23a-0c3a-4e1b-b9f1-017f84cb93de", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.607Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.611 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.611 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.611 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.628 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260509_031027.628 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.628 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_031027.629 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.629 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.629 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.629 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.637 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.638 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.638 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.638 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTc5ZmY5OGEtNWU2OC00MTcyLTg3MjItNzQ1MjVlYmQ4YzIyIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy42MzhaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.639 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "a79ff98a-5e68-4172-8722-74525ebd8c22", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.638Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.639 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "a79ff98a-5e68-4172-8722-74525ebd8c22", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.638Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.639 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.640 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260509_031027.640 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_031027.640 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "a79ff98a-5e68-4172-8722-74525ebd8c22", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.638Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.640 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_031027.641 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260509_031027.641 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDlmYjU4NmYtZWRhNy00MTUzLWEwMTUtNmJjMTUxMDA3Y2M3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3LjY0MVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.641 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.642 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "49fb586f-eda7-4153-a015-6bc151007cc7", "policies_count": 4, "action": "updated", "timestamp": "2026-05-09T03:10:27.641Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.642 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260509_031027.642 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260509_031027.642 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.643 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.643 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.643 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.643 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260509_031027.643 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.659 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.660 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.660 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.660 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMzEwMDAzMTktYjNhMS00YjUzLWI3ZjItOTEwMmUyZmRkMWY3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy42NjBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.661 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "31000319-b3a1-4b53-b7f2-9102e2fdd1f7", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.660Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.661 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "31000319-b3a1-4b53-b7f2-9102e2fdd1f7", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.660Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.661 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.662 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "31000319-b3a1-4b53-b7f2-9102e2fdd1f7", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.660Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.662 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260509_031027.662 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_031027.663 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzdmMzg5ZjEtMzUyYy00NzAwLTk2ZjktODM0ZmNiNjJiMDcwIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3LjY2M1oifQ==", "Verb": "set"}}] 20260509_031027.663 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.664 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "77f389f1-352c-4700-96f9-834fcb62b070", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.663Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.664 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260509_031027.664 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_031027.664 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "77f389f1-352c-4700-96f9-834fcb62b070", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.663Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.665 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_031027.665 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260509_031027.665 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYmU1MGFlYjAtMTY1Ny00OTA5LWI5YjAtNGY2ZTU2NGU3M2M4IiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3LjY2NVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260509_031027.665 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.666 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "be50aeb0-1657-4909-b9b0-4f6e564e73c8", "policies_count": 2, "action": "updated", "timestamp": "2026-05-09T03:10:27.665Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.666 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260509_031027.666 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260509_031027.666 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.667 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.686 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260509_031027.687 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.687 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_031027.687 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.687 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.687 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.688 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.696 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.696 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.697 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.697 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzIxOGVlODUtZDZlNS00MjA5LTg0NzItZTI4ZGU5NDFhMGY2IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy42OTdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.697 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "7218ee85-d6e5-4209-8472-e28de941a0f6", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.697Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.698 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "7218ee85-d6e5-4209-8472-e28de941a0f6", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.697Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.698 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.698 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260509_031027.698 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_031027.699 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "7218ee85-d6e5-4209-8472-e28de941a0f6", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.697Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.699 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_031027.699 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260509_031027.699 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGZmYTY2OTAtNzdiMy00YjcwLTkxZjItYTJhNDBmYmNmOTNhIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3LjY5OVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.700 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.700 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "8ffa6690-77b3-4b70-91f2-a2a40fbcf93a", "policies_count": 4, "action": "updated", "timestamp": "2026-05-09T03:10:27.699Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.701 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260509_031027.701 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260509_031027.701 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.701 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.701 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.701 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.702 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260509_031027.702 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.718 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260509_031027.718 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.719 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260509_031027.719 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.719 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.719 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.720 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.727 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.728 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.729 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.729 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNGJmZmVmY2YtMjAyYy00ZWYyLWE3ZWItNjc3OTE1YzVhNWM1IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy43MjlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.729 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "4bffefcf-202c-4ef2-a7eb-677915c5a5c5", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.729Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.730 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "4bffefcf-202c-4ef2-a7eb-677915c5a5c5", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.729Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.730 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.730 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "4bffefcf-202c-4ef2-a7eb-677915c5a5c5", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.729Z"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.731 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260509_031027.731 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.731 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.731 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "4bffefcf-202c-4ef2-a7eb-677915c5a5c5", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.729Z"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.731 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.745 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.746 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) 20260509_031027.746 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) 20260509_031027.746 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.750 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.751 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.752 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.752 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTg3OTkxMGUtOTdlZC00MzFhLWI1NGEtMDJhYjc3OWEzMTAxIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy43NTJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.752 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5879910e-97ed-431a-b54a-02ab779a3101", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.752Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.753 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5879910e-97ed-431a-b54a-02ab779a3101", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.752Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.753 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.753 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5879910e-97ed-431a-b54a-02ab779a3101", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.752Z"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.753 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260509_031027.754 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.754 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.754 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5879910e-97ed-431a-b54a-02ab779a3101", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.752Z"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.754 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.771 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.772 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.772 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.772 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOWY0YTQxMjQtOGQzNi00NDM4LWI0MWMtYWFhNDhlYjM0Yjc5IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy43NzJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.773 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "9f4a4124-8d36-4438-b41c-aaa48eb34b79", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.772Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.773 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "9f4a4124-8d36-4438-b41c-aaa48eb34b79", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.772Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.773 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.773 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.773 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260509_031027.774 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260509_031027.774 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260509_031027.774 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.774 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.774 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260509_031027.774 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260509_031027.775 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.785 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.786 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.786 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.786 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDhjYzg0YTgtMTI3NS00NTk5LWI3MDItMGM3YTNkZjlhMzg3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy43ODZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.787 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "d8cc84a8-1275-4599-b702-0c7a3df9a387", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.786Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.787 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "d8cc84a8-1275-4599-b702-0c7a3df9a387", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.786Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.787 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.788 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "d8cc84a8-1275-4599-b702-0c7a3df9a387", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.786Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.788 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260509_031027.788 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_031027.789 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNmY1ZDc1ZjAtMTgzZC00OTk3LWEwMWItNGMxOWI0ZDZhYzZjIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3Ljc4OFoifQ==", "Verb": "set"}}] 20260509_031027.789 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.789 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "6f5d75f0-183d-4997-a01b-4c19b4d6ac6c", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.788Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.790 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.790 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260509_031027.790 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260509_031027.790 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "6f5d75f0-183d-4997-a01b-4c19b4d6ac6c", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.788Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.791 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260509_031027.791 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260509_031027.791 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODM0YTRjNTUtOTFiNC00MDQ5LWJjMWEtNTlhYTRlODFiNWE0IiwgInBvbGljaWVzX2NvdW50IjogMiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3Ljc5MVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNDoxMDoyNy41MDdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set"}}] 20260509_031027.791 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.792 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "834a4c55-91b4-4049-bc1a-59aa4e81b5a4", "policies_count": 2, "action": "updated", "timestamp": "2026-05-09T03:10:27.791Z"}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.792 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260509_031027.792 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260509_031027.792 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260509_031027.792 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.812 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260509_031027.812 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.813 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260509_031027.813 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.813 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.813 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}, "service_component_name": "unit_test_scn", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.814 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.822 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.823 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.823 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.823 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMDU3ZWVmNjQtNGUzOS00MzkzLThlMDgtMzA3ZDQyYjk0YmY3IiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy44MjNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.824 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "057eef64-4e39-4393-8e08-307d42b94bf7", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.823Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.824 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "057eef64-4e39-4393-8e08-307d42b94bf7", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.823Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.824 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.824 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.832 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.833 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260509_031027.833 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.833 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260509_031027.833 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.837 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 20260509_031027.837 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.840 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.840 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) 20260509_031027.840 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) 20260509_031027.840 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.844 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.845 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.846 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.846 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTk0Y2ExZTQtMmQzNC00MzQ5LWJjMDUtYjBiM2Q4NDY2NjdkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy44NDZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.846 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "e94ca1e4-2d34-4349-bc05-b0b3d846667d", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.846Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.847 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "e94ca1e4-2d34-4349-bc05-b0b3d846667d", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.846Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.847 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.847 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "e94ca1e4-2d34-4349-bc05-b0b3d846667d", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.846Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.848 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260509_031027.848 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_031027.848 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNTgwMTg2M2YtNjZhYy00Y2E2LTlhZTgtZTczYTZiNzlkZmRkIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3Ljg0OFoifQ==", "Verb": "set"}}] 20260509_031027.849 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.849 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5801863f-66ac-4ca6-9ae8-e73a6b79dfdd", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.848Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.849 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20260509_031027.849 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "5801863f-66ac-4ca6-9ae8-e73a6b79dfdd", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.848Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.849 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.850 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260509_031027.865 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.866 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260509_031027.866 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.866 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDVkZjU2NDMtMzZmNy00MmMwLWE4ZGItMDMzYWMwYjcwNWRkIiwgInBvbGljaWVzX2NvdW50IjogNCwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wOVQwMzoxMDoyNy44NjZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA2OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTA5VDA0OjEwOjI3LjUwN1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wOVQwNjoxMDoyNy41MDdaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDlUMDM6MTA6MjcuNTA3WiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set"}}] 20260509_031027.867 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "d5df5643-36f7-42c0-a8db-033ac0b705dd", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.866Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.867 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "d5df5643-36f7-42c0-a8db-033ac0b705dd", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.866Z"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.867 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260509_031027.868 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "d5df5643-36f7-42c0-a8db-033ac0b705dd", "policies_count": 4, "action": "gathered", "timestamp": "2026-05-09T03:10:27.866Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.868 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260509_031027.869 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_031027.869 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODIwZWI3ODUtMTE0Ny00MzM5LTgxMGQtYzE3NzY2OTA0MzRmIiwgInBvbGljaWVzX2NvdW50IjogMCwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTA5VDAzOjEwOjI3Ljg2OVoifQ==", "Verb": "set"}}] 20260509_031027.869 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.870 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "820eb785-1147-4339-810d-c1776690434f", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.869Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.870 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "820eb785-1147-4339-810d-c1776690434f", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.869Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.871 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_peach"] 20260509_031027.871 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260509_031027.871 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z", "policy_updated_to_ver": "1", "weather": "snow"}}}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "plugin": {"package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "workdir": null}, "task_name": null, "type": "node-instance", "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "820eb785-1147-4339-810d-c1776690434f", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.869Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T05:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}}, "instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T03:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T04:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T06:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}}, "relationships": []}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_ts": "2026-05-09T07:10:27.507Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "relationships": []}}}]}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_id": null, "workflow_id": null} 20260509_031027.871 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_peach'] 20260509_031027.872 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"update_id": "820eb785-1147-4339-810d-c1776690434f", "policies_count": 0, "action": "updated", "timestamp": "2026-05-09T03:10:27.869Z"}, "exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"}} 20260509_031027.872 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-09T03:10:27.507Z"} 20260509_031027.872 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear