20250913_031000.534 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.534 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250913_031000.534 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.535 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250913_031000.535 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.539 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_031000.539 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.540 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250913_031000.540 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.540 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.540 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.541 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.548 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.549 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.550 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.550 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC41NTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjI3MzFiM2UtMzFmYi00MGM2LWJmZWItNmQ0ZTI0MjQ5YjMwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.550 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.550Z", "action": "gathered", "update_id": "f2731b3e-31fb-40c6-bfeb-6d4e24249b30"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.551 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.550Z", "action": "gathered", "update_id": "f2731b3e-31fb-40c6-bfeb-6d4e24249b30"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.551 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.551 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.550Z", "action": "gathered", "update_id": "f2731b3e-31fb-40c6-bfeb-6d4e24249b30"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.552 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20250913_031000.552 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_031000.552 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC41NTJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3MGEzNzFkYS05NTI5LTQwOGQtOGNiNC05NzBjMWJjN2I2YzMifQ=="}}] 20250913_031000.553 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.553 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.552Z", "action": "updated", "update_id": "70a371da-9529-408d-8cb4-970c1bc7b6c3"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.553 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20250913_031000.553 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_031000.554 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.552Z", "action": "updated", "update_id": "70a371da-9529-408d-8cb4-970c1bc7b6c3"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.554 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_031000.554 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20250913_031000.555 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC41NTRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5N2NlYTk5NS1mOWRmLTQ0NmMtYjc5Yi0zNTMyNGM0ZjVmN2MifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}] 20250913_031000.555 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.555 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 2, "timestamp": "2025-09-13T03:10:00.554Z", "action": "updated", "update_id": "97cea995-f9df-446c-b79b-35324c4f5f7c"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.556 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250913_031000.556 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20250913_031000.556 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20250913_031000.556 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.575 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.576 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.576 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.577 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC41NzZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDg1N2U2NWUtOTQ3YS00MzA1LWExZTktNmY0NzczNGVkYjJjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.577 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.576Z", "action": "gathered", "update_id": "4857e65e-947a-4305-a1e9-6f47734edb2c"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.577 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.576Z", "action": "gathered", "update_id": "4857e65e-947a-4305-a1e9-6f47734edb2c"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.577 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.578 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.576Z", "action": "gathered", "update_id": "4857e65e-947a-4305-a1e9-6f47734edb2c"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.578 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250913_031000.578 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.578 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.579 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.576Z", "action": "gathered", "update_id": "4857e65e-947a-4305-a1e9-6f47734edb2c"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.579 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.593 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250913_031000.594 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.594 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250913_031000.594 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.594 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.594 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.595 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.603 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.604 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.605 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.605 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC42MDVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYmU1NTc3ZWUtZTc1YS00NGIwLTk3ODctZjdkMjIyMzhhNDRhIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.605 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.605Z", "action": "gathered", "update_id": "be5577ee-e75a-44b0-9787-f7d22238a44a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.606 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.605Z", "action": "gathered", "update_id": "be5577ee-e75a-44b0-9787-f7d22238a44a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.606 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.606 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.606 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}}}] 20250913_031000.607 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.605Z", "action": "gathered", "update_id": "be5577ee-e75a-44b0-9787-f7d22238a44a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.607 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}}}}}}, removed_policies: ["<<>>"] 20250913_031000.607 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}}} 20250913_031000.607 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}], "duplicate": [], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null}}]} 20250913_031000.608 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.605Z", "action": "gathered", "update_id": "be5577ee-e75a-44b0-9787-f7d22238a44a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.608 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.605Z", "action": "gathered", "update_id": "be5577ee-e75a-44b0-9787-f7d22238a44a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.608 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.609 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.609 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.625 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.626 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.626 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.626 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC42MjZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMGIwZjViMGYtYjM1NC00YmU2LTg2ODktNDMwNWM4YTUzODE5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.627 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.626Z", "action": "gathered", "update_id": "0b0f5b0f-b354-4be6-8689-4305c8a53819"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.627 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.626Z", "action": "gathered", "update_id": "0b0f5b0f-b354-4be6-8689-4305c8a53819"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.627 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.628 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.626Z", "action": "gathered", "update_id": "0b0f5b0f-b354-4be6-8689-4305c8a53819"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.628 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20250913_031000.629 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_031000.629 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC42MjlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzM2U5YmQ0NC1iODA5LTRjOTktODYyZS1iMjkyNGM2NjA0YjIifQ=="}}] 20250913_031000.629 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.630 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.629Z", "action": "updated", "update_id": "33e9bd44-b809-4c99-862e-b2924c6604b2"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.630 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.629Z", "action": "updated", "update_id": "33e9bd44-b809-4c99-862e-b2924c6604b2"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.630 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20250913_031000.630 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_031000.631 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.629Z", "action": "updated", "update_id": "33e9bd44-b809-4c99-862e-b2924c6604b2"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.631 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach_2'] 20250913_031000.631 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.629Z", "action": "updated", "update_id": "33e9bd44-b809-4c99-862e-b2924c6604b2"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250913_031000.631 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.632 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.649 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.650 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) 20250913_031000.650 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) 20250913_031000.650 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.654 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.655 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.655 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.656 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC42NTZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiN2FkMWEyMTctZmI5Zi00Mzk0LWFhZmQtNmMzZjVmZThiYTc0In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.656 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.656Z", "action": "gathered", "update_id": "7ad1a217-fb9f-4394-aafd-6c3f5fe8ba74"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.656 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.656Z", "action": "gathered", "update_id": "7ad1a217-fb9f-4394-aafd-6c3f5fe8ba74"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.657 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.657 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20250913_031000.657 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_031000.657 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.656Z", "action": "gathered", "update_id": "7ad1a217-fb9f-4394-aafd-6c3f5fe8ba74"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.658 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_031000.658 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20250913_031000.658 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC42NThaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlNjM1ZTgxYi1hNDhlLTQzMGEtYTQzNC02MTQ2NzU2OTI2Y2UifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}] 20250913_031000.659 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.659 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.658Z", "action": "updated", "update_id": "e635e81b-a48e-430a-a434-6146756926ce"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.659 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250913_031000.660 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20250913_031000.660 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20250913_031000.660 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.660 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.660 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.660 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}} 20250913_031000.661 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.675 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 20250913_031000.675 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.679 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_031000.679 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.679 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250913_031000.679 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.680 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.680 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.680 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.688 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.689 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.689 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.690 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC42OTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNWRjYmQ3NmEtY2I4ZC00YTc5LThkYTAtY2ExNTMwNTU1ZGUxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.690 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.690Z", "action": "gathered", "update_id": "5dcbd76a-cb8d-4a79-8da0-ca1530555de1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.690 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.690Z", "action": "gathered", "update_id": "5dcbd76a-cb8d-4a79-8da0-ca1530555de1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.691 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.691 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.700 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.701 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.701 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.702 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43MDJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTlhMzZlNjEtNWMzYS00ZGRkLWE5NGMtYjdjMWJlMTEzOTVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.702 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.702Z", "action": "gathered", "update_id": "99a36e61-5c3a-4ddd-a94c-b7c1be11395d"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.703 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.702Z", "action": "gathered", "update_id": "99a36e61-5c3a-4ddd-a94c-b7c1be11395d"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.703 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.703 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20250913_031000.703 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_031000.703 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.702Z", "action": "gathered", "update_id": "99a36e61-5c3a-4ddd-a94c-b7c1be11395d"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.704 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_031000.704 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20250913_031000.704 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43MDRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIyNzA1NWI3My03N2E2LTQ5Y2YtODkxYS04ZmIxMDBiNzFhNzQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}] 20250913_031000.705 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.705 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.704Z", "action": "updated", "update_id": "27055b73-77a6-49cf-891a-8fb100b71a74"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.705 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250913_031000.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20250913_031000.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20250913_031000.706 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.706 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}} 20250913_031000.707 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.721 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.722 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.722 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.722 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.722 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250913_031000.722 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250913_031000.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.727 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_031000.728 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.728 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250913_031000.728 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.728 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.729 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.729 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.737 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.738 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.738 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.738 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43MzhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDA3Zjg4NTctM2Y1YS00ODlmLTlmZjQtNGJhOGNiY2E3NDJmIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.739 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.738Z", "action": "gathered", "update_id": "007f8857-3f5a-489f-9ff4-4ba8cbca742f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.739 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.738Z", "action": "gathered", "update_id": "007f8857-3f5a-489f-9ff4-4ba8cbca742f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.739 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.739 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.738Z", "action": "gathered", "update_id": "007f8857-3f5a-489f-9ff4-4ba8cbca742f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.740 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20250913_031000.740 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_031000.740 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43NDBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4ZDdhYWFhNC01YTMxLTQzMDgtYWRjMC01ZjViODM2N2I4MTEifQ=="}}] 20250913_031000.741 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.741 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.740Z", "action": "updated", "update_id": "8d7aaaa4-5a31-4308-adc0-5f5b8367b811"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.741 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach_2'] 20250913_031000.741 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.740Z", "action": "updated", "update_id": "8d7aaaa4-5a31-4308-adc0-5f5b8367b811"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250913_031000.742 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.742 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.756 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250913_031000.756 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.756 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.757 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.757 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.757 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.766 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.767 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.767 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.768 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43NjdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWMzMzljYzMtOGYwYi00OGJjLThmMDItMDBjMDMzMDJjMGY5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.768 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.767Z", "action": "gathered", "update_id": "1c339cc3-8f0b-48bc-8f02-00c03302c0f9"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.768 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.767Z", "action": "gathered", "update_id": "1c339cc3-8f0b-48bc-8f02-00c03302c0f9"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.769 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.769 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.767Z", "action": "gathered", "update_id": "1c339cc3-8f0b-48bc-8f02-00c03302c0f9"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.769 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach_2"] 20250913_031000.770 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250913_031000.770 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43NzBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmMDBlMzE3Ni04NzU4LTQ2OTUtODVhNS0yOTQxZjc1ZGE2OGUifQ=="}}] 20250913_031000.771 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.771 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.770Z", "action": "updated", "update_id": "f00e3176-8758-4695-85a5-2941f75da68e"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.771 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250913_031000.772 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20250913_031000.772 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_031000.772 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 0, "timestamp": "2025-09-13T03:10:00.770Z", "action": "updated", "update_id": "f00e3176-8758-4695-85a5-2941f75da68e"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.772 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_031000.773 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20250913_031000.773 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43NzNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4YTY4NDMzYy1lYTk3LTRhNzEtODVlMS0yZjU2MzcwNzkzZDIifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}] 20250913_031000.773 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.774 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 2, "timestamp": "2025-09-13T03:10:00.773Z", "action": "updated", "update_id": "8a68433c-ea97-4a71-85e1-2f56370793d2"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.774 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250913_031000.774 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20250913_031000.774 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20250913_031000.774 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.794 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.796 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.796 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.796 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC43OTZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjY3ZmVhODMtMDllMy00YzJhLWI0YjgtZDBlODE0OGU3Nzg2In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.797 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.796Z", "action": "gathered", "update_id": "f67fea83-09e3-4c2a-b4b8-d0e8148e7786"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.797 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.796Z", "action": "gathered", "update_id": "f67fea83-09e3-4c2a-b4b8-d0e8148e7786"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.797 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.797 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.797 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.798 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}} 20250913_031000.798 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}} 20250913_031000.798 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}} 20250913_031000.798 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}} 20250913_031000.798 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}} 20250913_031000.798 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}} 20250913_031000.798 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.807 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 20250913_031000.808 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.812 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.813 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.813 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.813 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC44MTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzMwZWFlNjEtY2ZmZS00ZTZlLWE2MzktNTNjNDA3MTY0ZGYwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.814 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.813Z", "action": "gathered", "update_id": "330eae61-cffe-4e6e-a639-53c407164df0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.814 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.813Z", "action": "gathered", "update_id": "330eae61-cffe-4e6e-a639-53c407164df0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.814 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.814 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}] 20250913_031000.815 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_031000.815 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.813Z", "action": "gathered", "update_id": "330eae61-cffe-4e6e-a639-53c407164df0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.815 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_031000.816 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}} 20250913_031000.816 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC44MTZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiYzUzNWVjOC0yZGZmLTQ3NTQtYTJiZS1hMTk2MTVhYmU5YzgifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNDoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}] 20250913_031000.817 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.817 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.816Z", "action": "updated", "update_id": "bc535ec8-2dff-4754-a2be-a19615abe9c8"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.817 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250913_031000.817 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}}} 20250913_031000.818 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}}} 20250913_031000.818 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.818 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.818 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.818 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}} 20250913_031000.818 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.834 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.835 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.835 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.836 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC44MzVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiODRjNTlkZDEtNTg3Ny00OGVlLWExNGEtZTZmMWVmMjI4NjU3In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.836 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.835Z", "action": "gathered", "update_id": "84c59dd1-5877-48ee-a14a-e6f1ef228657"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.836 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.835Z", "action": "gathered", "update_id": "84c59dd1-5877-48ee-a14a-e6f1ef228657"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.837 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.837 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": ["damaged config"]}}] 20250913_031000.837 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250913_031000.837 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.835Z", "action": "gathered", "update_id": "84c59dd1-5877-48ee-a14a-e6f1ef228657"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.838 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": ["damaged config"]}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"none": null, "unexpected": "foo"}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250913_031000.838 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"none": null, "unexpected": "foo"}}}} 20250913_031000.838 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC44MzhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5MGRhOGZiYi1mNzFmLTRlZWUtYmI3ZC1iYzA4YmMzNjg3N2MifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9fQ=="}}] 20250913_031000.839 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.839 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.838Z", "action": "updated", "update_id": "90da8fbb-f71f-4eee-bb7d-bc08bc36877c"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": ["damaged config"]}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"none": null, "unexpected": "foo"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.840 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250913_031000.840 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"none": null, "unexpected": "foo"}}} 20250913_031000.840 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "property": null, "config": ["damaged config"]}} 20250913_031000.840 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.840 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.840 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}} 20250913_031000.841 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}} 20250913_031000.841 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.858 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.858 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.858 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.859 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.859 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}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250913_031000.859 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250913_031000.859 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.863 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.863 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) 20250913_031000.863 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) 20250913_031000.864 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.868 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250913_031000.868 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.869 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250913_031000.869 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.869 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.870 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.870 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250913_031000.881 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.882 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.882 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.882 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOS0xM1QwMzoxMDowMC44ODJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzVhOGRkNmQtOTE3Zi00NzE1LWJmZWEtNjkyOWUyOGVkYmJjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMTNUMDM6MTA6MDAuNTExWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA0OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41In0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTEzVDA2OjEwOjAwLjUxMVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiJ9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0xM1QwNjoxMDowMC41MTFaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ=="}}] 20250913_031000.883 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.882Z", "action": "gathered", "update_id": "c5a8dd6d-917f-4715-bfea-6929e28edbbc"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.883 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.882Z", "action": "gathered", "update_id": "c5a8dd6d-917f-4715-bfea-6929e28edbbc"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}} 20250913_031000.883 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}} 20250913_031000.884 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.882Z", "action": "gathered", "update_id": "c5a8dd6d-917f-4715-bfea-6929e28edbbc"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.884 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250913_031000.884 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250913_031000.884 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20250913_031000.885 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {"policies_count": 4, "timestamp": "2025-09-13T03:10:00.882Z", "action": "gathered", "update_id": "c5a8dd6d-917f-4715-bfea-6929e28edbbc"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T05:10:00.511Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T04:10:00.511Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T06:10:00.511Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "config": {"policy_updated_ts": "2025-09-13T07:10:00.511Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}]}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null}, "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-09-13T03:10:00.511Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_id": null} 20250913_031000.885 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear